Write to same mat file from multiple compiled functions

1 view (last 30 days)
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.
Afzal Ali
Afzal Ali on 7 Jan 2018
Is there some way to lock a mat file, so I can have a while loop checking when I should load it.

Sign in to comment.

Answers (1)

Sindhu Yerragunta
Sindhu Yerragunta on 10 Jan 2018
Edited: Sindhu Yerragunta on 10 Jan 2018
Hi Afzal,
This link might help to proceed further


Find more on Function Creation in Help Center and File Exchange



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!