How do I restore matlab to original settings?

I ran the speedgoat IO block install and now Matlab is generating errors and Simulink won't run. I wasn't able to find an answer I understood for this issue.

Answers (2)

In MATLAB, run "restoredefaultpath" to see if you can get your Simulink back to normal. Then try to re-install SpeedGoat.

4 Comments

I assume to run it means enter this command at the fx>> prompt?
I get the following error message when I do this:
>> restoredefaultpath
Unable to resolve the name sg.parseArg.
Error in startsWith
Error in restoredefaultpath (line 21)
if startsWith(computer,'PC')
Wow, this is serious. Can you re-start MATLAB and then run "restoredefaultpath" again?
if same error, then run "computer" to see what happens.
same error. pcwin64 is the response to computer
Then the error comes from startsWith(), which is a built-in function. Something fundermental within MATLAB has been messed up, unfortunately. You might have to re-install MATLAB. Or contact Tech support to see if they can help you.

Sign in to comment.

Categories

Products

Release

R2020a

Asked:

on 17 Jun 2021

Answered:

on 17 Jun 2021

Community Treasure Hunt

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

Start Hunting!