Why do I get the error "The feature 'RTWTesting' has already been registered." when launching Simulink?

13 views (last 30 days)
When I tried to launch Simulink and opened Simulink model, I got the following error and couldn't open it.
Error using open (line 146)
The feature 'RTWTesting' has already been registered.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Dec 2022
Edited: MathWorks Support Team on 23 Dec 2022
At first, please try initialization for MATLAB preference folder and MATLAB path.
To initialize MATLAB preference folder, please rename it. You can confirm MATLAB preference folder.
>>prefdir
To initialize MATLAB path, please run the following commands from Command Window.
restoredefaultpath
rehash toolboxcache
savepath
If the issue hasn't resolved, you might fail to install MATLAB/Simulink.
Therefore, please try clean installation MATLAB as an administrator referring the following URL.

More Answers (0)

Categories

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

Tags

No tags entered yet.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!