Unable to install matlab properly.

1 view (last 30 days)
Amith Vasista
Amith Vasista on 31 Aug 2017
Edited: Thomas Ernst on 15 Dec 2017
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 Comments
Adam
Adam on 31 Aug 2017
Contact tech support. It is the easiest way to solve installation problems.
Amith Vasista
Amith Vasista on 31 Aug 2017
Edited: Amith Vasista on 31 Aug 2017
Thank you Adam. I did call them :)

Sign in to comment.

Answers (1)

Thomas Ernst
Thomas Ernst on 15 Dec 2017
Edited: Thomas Ernst on 15 Dec 2017
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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!