I am running multiple instances of C-code in parallel on Ubuntu. The C-code starts up matlab, calls a script, then closes. When running many at once (~8), I get the following error intermittently:
Warning: Unable to load Toolbox Path Cache/home/chuck/.matlab/R2018a/toolbox_cache-9.4.0-2328427802-glnxa64.xml. Thecache file is not in the correct format. It will be regenerated upon quittingMATLAB.
I have found that unchecking "Update Toolbox Path Cache" per this post will prevent the warning from occuring, but that it slows down each Matlab call.
Is there a way to prevent this warning other than not using the cache?
Best Answer