The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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


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.


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.