Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 24 Jul 2023
Edited: Walter Roberson on 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

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!