I'm trying to run a Simulink model EJS and it is working very well, but my problem is that when EJS is opening the Simulink model , a Simulink console is opened, displaying the model information. I would like to know if I cannot do that this window will not display, and if not, how I could close this window from EJS when the execution is completed.
I'm trying to use your advice but I don't know how do it. I have a simulink model called Model.mdl and I don't know where I have to write the command "set_param(gcs, 'Open', 'Off')".
I'm doing the following steps from EJS: 1.- externalApp = new SimulinkExternalApp("MODEL.mdl"); 2.- externalApp.setClient(this); 3.- externalApp.linkVariables(,,,,,); 4.- externalApp.connect();
But with this settings I can't hide the matlab command windows, and I don't know if there is other form to execute the model to hide this window.
Thanks again for your support and best regards. Manuel.