Undefined variable "RTW" error on Matlab start before prompt appears and in coder
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have just installed Matlab R13a + Matlab coder + Financial/Statistics/Optimization/parallel toolboxes. On Matlab start I get message in the command window before the prompt appears:
Undefined variable "RTW" or class "RTW.TargetRegistry.getInstance".
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\foundation\build\+coder\+make\+internal\+guicallback\getToolchains.p>getToolchains (line 8)
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\coder\emlcprivate.p>emlcprivate (line 16)
The same error appears on attempt to use Matlab Coder
Please let me know what can I do to fix this
0 commentaires
Réponse acceptée
Ryan Livingston
le 8 Août 2013
It seems like the file getInstance.p is not in your installation. What is the output of:
ls(fullfile(matlabroot,'toolbox','coder','foundation','+RTW','@TargetRegistry'))
that is where getInstance.p should be located. If it is there you should run:
rehash toolboxcache
restoredefaultpath
to see if that allows it to be picked up.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!