How to force Matlab to reload classes in toolbox\rtw\rtw\@RTW
Mostrar comentarios más antiguos
Hello,
I have some software that uses the class RTW.TargetPrefs. This class was available up to R2012a. There is a patch available to add this class to newer releases (<http://www.mathworks.com/support/bugreports/877463)>. Basically, this patch copies some files to toolbox\rtw\rtw\@RTW\@TargetPrefs.
Unfortunately, Matlab needs a restart to find this new class. I tried rehash with different parameters to force Matlab to check for new classes, but without any success. I want to install the patch in a kind of install script and want to avoid that a user has to restart Matlab in order to get the classes. Therefore, I am looking for a way to force Matlab to check for new classes. Is there anything I can use?
Thank you,
Christian
1 comentario
Respuestas (1)
John D'Errico
el 4 de Jul. de 2014
clear classes
is what I always do, and it has always worked for me.
1 comentario
Christian
el 5 de Jul. de 2014
Categorías
Más información sobre Search Path en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!