Unable to install matlab properly.
3 次查看(过去 30 天)
显示 更早的评论
Dear all, Hope you are doing great!
I am a newbie to Matlab & simulink. I had installed MatLab 2014b(64bit) & 2015spa (32bit) for different purposes. One for model development & other for FPGA development(2014b) It was running fine. recently from past 3 days, it is showing me errors. It says:
Undefined variable "rmimap" or class "rmimap.StorageMapper.getInstance.getStorageFor". Error in rmiml.RmiMlData/getAll (line 196) Error in rmiml.getAll (line 14) Undefined variable "rmimap" or class "rmimap.StorageMapper.getInstance.getStorageFor". Error in rmiml.RmiMlData/getAll (line 196) Error in rmiml.getAll (line 14).
I tried to open simulink & I see this error:
Warning: Undefined function 'coder.oneclick.Utils.isOnTargetOneClickEnabled' for input arguments of type 'Simulink.ConfigSet'. > In Simulink.Preferences/updateConfigSetCopy (line 29) In Simulink.Preferences.getInstance (line 59) In slinstallprefs (line 18) In simulinkrc (line 38) Warning: No appropriate method, property, or field 'registerTargetInfo' for class 'DAStudio.CustomizationManager'. > In slCustomizer/callAllMethods (line 44) In slCustomizer/refresh (line 73) In slCustomizer.staticRefresh (line 23) In sl_refresh_customizations (line 18) In slcustomize (line 4) In simulinkrc (line 48) Warning: No appropriate method, property, or field 'registerTargetInfo' for class 'DAStudio.CustomizationManager'. > In slCustomizer/callAllMethods (line 44) In slCustomizer/refresh (line 73) In slCustomizer.staticRefresh (line 23) In sl_refresh_customizations (line 18) In slcustomize (line 4) In simulinkrc (line 48) Warning: No appropriate method, property, or field 'registerTargetInfo' for class 'DAStudio.CustomizationManager'. > In slCustomizer/callAllMethods (line 44) In slCustomizer/refresh (line 73) In slCustomizer.staticRefresh (line 23) In sl_refresh_customizations (line 18) In slcustomize (line 4) In simulinkrc (line 48) Warning: simulink (blockdiagram.xml, line 394): Cannot find built-in block of type 'DiscreteFilter'. Ignoring default parameter settings for this block > In load_system (line 21) In libbrowse2 (line 21) Warning: simulink (blockdiagram.xml, line 428): Cannot find built-in block of type 'DiscreteFir'. Ignoring default parameter settings for this block > In load_system (line 21) In libbrowse2 (line 21) Warning: simulink (blockdiagram.xml, line 495): Cannot find built-in block of type 'DiscreteTransferFcn'. Ignoring default parameter settings for this block > In load_system (line 21) In libbrowse2 (line 21) Warning: simulink (blockdiagram.xml, line 924): Cannot find built-in block of type 'MATLABSystem'. Ignoring default parameter settings for this block > In load_system (line 21) In libbrowse2 (line 21) Warning: simulink (blockdiagram.xml, line 11988): Cannot find built-in block of type 'DiscreteTransferFcn'. Using an empty proxy block in its place. The model cannot be updated or simulated with such a proxy block > In load_system (line 21) In libbrowse2 (line 21) Warning: simulink (blockdiagram.xml, line 12328): Cannot find built-in block of type 'DiscreteFir'. Using an empty proxy block in its place. The model cannot be updated or simulated with such a proxy block > In load_system (line 21) In libbrowse2 (line 21) Warning: simulink (blockdiagram.xml, line 12333): Cannot find built-in block of type 'DiscreteFilter'. Using an empty proxy block in its place. The model cannot be updated or simulated with such a proxy block > In load_system (line 21) In libbrowse2 (line 21) Warning: simulink (blockdiagram.xml, line 23084): Cannot find built-in block of type 'MATLABSystem'. Using an empty proxy block in its place. The model cannot be updated or simulated with such a proxy block > In load_system (line 21) In libbrowse2 (line 21)
If I open a model, I cannot run it.
I do not know how to handle this. I tried uninstalling all the versions & tried reinstalling. It does not help. Could anyone please help me to solve this problem? What should I be doing to make matlab alright on my computer?
Any answers will be appriciated,
Thank you in advance, Have a good day, Amith
2 个评论
回答(1 个)
Thomas Ernst
2017-12-15
编辑:Thomas Ernst
2017-12-15
Hi everybody,
We had the same problem suddenly appearing on an older 2015a install. MATLAB support supplied us with this code, that reset our system back to working order.
restoredefaultpath
rehash toolboxcache
savepath
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!