Simscape hanging-up in R2019a

2 views (last 30 days)
Randy Schutt
Randy Schutt on 17 May 2019
Answered: Surbhi Pillai on 28 May 2019
Hi, I have recently installed R2019a and have a few Simscape Multibody simulations that had been running without issue in R2018b, but now they are hanging-up in R2019a (basically making Matlab non-responsive) ... Any ideas you may have would be helpful...Thank- you

Answers (1)

Surbhi Pillai
Surbhi Pillai on 28 May 2019
The possible cause of the issue could be creation of custom paths. You may consider following the steps to remove any custom paths you may have created.
Before modifying the search path, you can take a backup of your 'pathdef.m' file, which can be located by using the command
>> which -all pathdef
Before proceeding, you should backup this file by copying it to a folder outside of your MATLAB path.
After making the backup, please execute the following commands in the MATLAB Command Window to restore the default MATLAB search path and rehash the toolbox cache:
>> restoredefaultpath
>> rehash toolboxcache
After this step, please use MATLAB normally to see if the issue occurs again. If the issue is resolved, then you can save the new MATLAB search path by executing the following command:
>> savepath
After running the above commands in MATLAB Command line, please verify if the issue is resolved. If not, kindly consider reinstalling the MATLAB. The issue could be due to some files getting corrupt during the time of installation. Please refer to link below whic ellaborated the steps to clean reinstall MATLAB in Window Syatem.
In case the issue persists even after re installing the MATLAB, please feel free to reach out to MathWorks Technical Support for further assistance.

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!