Open a 2nd Matlab session and read model-file open in the 1st session (programatically)
I have a unique situation where I need to programatically open a 2nd session of Matlab and run a script. That is easy enough. However, I need this script to check for some info in the 1st session. For example, return the current path in the first session, return a list of all the Simulink models open in the first session, maybe even rename some signals in one of the models in session 1. This I have no idea how to do.
I’ve read a bit about UDP, doesn’t look like that would work for my use-case. Any suggestions welcome. Thanks.
JI have a unique situation where I need to programatically open a 2nd session of Matlab and run a script. That is easy enough. However, I need this script to check for some info in the 1st session. For example, return the current path in the first session, return a list of all the Simulink models open in the first session, maybe even rename some signals in one of the models in session 1. This I have no idea how to do.
I’ve read a bit about UDP, doesn’t look like that would work for my use-case. Any suggestions welcome. Thanks.
J I have a unique situation where I need to programatically open a 2nd session of Matlab and run a script. That is easy enough. However, I need this script to check for some info in the 1st session. For example, return the current path in the first session, return a list of all the Simulink models open in the first session, maybe even rename some signals in one of the models in session 1. This I have no idea how to do.
I’ve read a bit about UDP, doesn’t look like that would work for my use-case. Any suggestions welcome. Thanks.
J multiple sessions, matlab, models, communicate MATLAB Answers — New Questions