Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: error appending to .mat file during parfor
Replies: 1   Last Post: Nov 22, 2012 5:13 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mathew Thomas

Posts: 171
Registered: 6/17/09
error appending to .mat file during parfor
Posted: Nov 21, 2012 5:58 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,

I am appending to an existing mat file using parfor loop. I am getting an error "Mat file could not be opened, file might be corrupt." I am guessing this is because the paralleled approach makes the cores to append/ or access the mat file at the same time.... Is there any work around for this ? Like being able to put a slight delay to the parfor loop etc.

Thanks in advance.

Mathew



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.