Is there any possible way to access the workspace variables of a MATLAB instance using process id obtained from Task Manager?

3 Ansichten (letzte 30 Tage)
I have fetched the process id using: TASKLIST /FI "IMAGENAME eq MATLAB.exe", which gave me a number(5684).
Now I am in need of accessing the workspace variables of this particular MATLAB instance from the Command Prompt.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 24 Jul. 2023
Bearbeitet: Walter Roberson am 24 Jul. 2023
No, there is no way to do that. There is no way to get at the workspace of any independent matlab session.
Historically the closest to that was pmode https://www.mathworks.com/help/parallel-computing/pmode.html but that has been removed as of r2023a

Weitere Antworten (0)

Kategorien

Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by