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

5 vues (au cours des 30 derniers jours)
Christoph Wiedemann
Christoph Wiedemann le 15 Mar 2017
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?

Réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by