Matlab sees old version of python module -- how do I refresh Matlab's view of python files/modules imported by a python file called on by pyrunfile?
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a Matlab file that uses pyrunfile() to run a python file. That python file imports a module from another file that I edit frequently. However, in order for the saved changes that I make in the python module file to be used, I have to close out of matlab and restart it. Otherwise an older (seemingly non-existant) version of the python module file gets used. Is there a way that I can refresh matlab (without closing out) so that when my python file imports the module, it imports the up-to-date version of the module?
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!