Write to same mat file from multiple compiled functions
Ältere Kommentare anzeigen
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 Kommentare
Rik
am 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
am 7 Jan. 2018
Rik
am 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
am 7 Jan. 2018
Antworten (1)
Sindhu Yerragunta
am 10 Jan. 2018
Bearbeitet: Sindhu Yerragunta
am 10 Jan. 2018
0 Stimmen
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!