I have several tests to make on a matlab project so i will have to launch all of them quickly. I don’t want to open the software either. So i am writting a python script to do so, but i don’t get why it stills open a window.
This is my command:
matlab_fcn = f"pathto\matlab.exe -nodisplay -nosplash -desktop -wait -r "addpath(genpath('{add_path}'),'{param_path}'); run('{param_path}'); run('Main_Function('{sim_project}');quit "
I also need to mention that I don’t want to use matlabEngine
So I checked on the website, and found similar situations to mine howether I don’t get how to do so.
This subject is the same problem I have but I don’t understand why should it be opened remotely, am I obliged? and what is psexec -i.
I also checked this one. But i have to figure out how to create an executable.