Write to same mat file from multiple compiled functions
Show older comments
I am compiling multiple functions (using MCC) to retrieve data from a MySQL server in order to parallelize the process. Each function will write data to a mat file. Is there a way I can check if the mat file is not in memory of another function before loading it.
4 Comments
Rik
on 7 Jan 2018
My first thought would be that global variables could solve this. My second thought is that global variables can generally be avoided in favor of a more robust solution.
Afzal Ali
on 7 Jan 2018
Rik
on 7 Jan 2018
If the instances are separated, I hope they won't have access to each others memory, so what you are asking is impossible.
Afzal Ali
on 7 Jan 2018
Answers (1)
Sindhu Yerragunta
on 10 Jan 2018
Edited: Sindhu Yerragunta
on 10 Jan 2018
0 votes
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!