I'm compiling my matlab .m functions (and mex files) to run as a standalone program on a Linux server. In the end, I manage to compile all files and even run them, although in the process I do get some warnings:
Warning: Adding path "input_folder1" to Compiler path instance.
Warning: Adding path "input_folder2" to Compiler path instance.
Warning: Adding path "input_folder3" to Compiler path instance.
Basically, my question is what is causing these warnings and how can I avoid them?
And, can I run into trouble if I move this standalone program to a different server?
The mcc line that is causing these warnings is:
mcc -m -d output_folder -I input_folder1 -I input_folder2 -I input_folder3 -a mex_file1.mexa64 -a mex_file2.mexa64 MainScriptFile.m SubFunction1.m SubFunction2.m SubFunction3.m
-I input_folders
part in the mcc statement was adding these paths to the Compiler path, so I was confused by the warnings. Could you indicate what the correct way is to add these paths to the compiler path before compiling? – Invasive