Matlab python support / reload modules / re-initialize python interpreter

1 view (last 30 days)
I have a few questions regarding the python support:
1. I'm seeing this documentation https://de.mathworks.com/help/matlab/matlab_external/call-modified-python-module.html, but when playing around with clear classes, I find that I don't have to issue a relaod of a module anymore, because the updated module is already available after calling import_module.
2. Issuing a reload without a previous clear classes doesn't seem to have any effect, but it would be good to have this possibility. Clear classes is better than having to restart matlab, but it still feels too restrictive.
2. What is the effect of clear classes regarding to the python interpreter? Does it reset the interpreter's state? If not, is there any way to reset the state of the interpreter?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!