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

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?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

질문:

2017년 3월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by