Write to same mat file from multiple compiled functions
이전 댓글 표시
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
Rik
2018년 1월 7일
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
2018년 1월 7일
Rik
2018년 1월 7일
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
2018년 1월 7일
답변 (1개)
Sindhu Yerragunta
2018년 1월 10일
편집: Sindhu Yerragunta
2018년 1월 10일
0 개 추천
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!