Clear Filters
Clear Filters

why do i receive error code -202?

79 views (last 30 days)
nyuliandini
nyuliandini on 21 Jan 2023
Answered: Gowthami on 22 Jan 2023
i had installed matlab 2022b, and then when i open the RL toolbox i received error code -202, what thats is mean?

Answers (1)

Gowthami
Gowthami on 22 Jan 2023
Hi,
This error may be due to corrupted Configuration Settings.
One of the most common reasons MATLAB will fail to start is that something has corrupted the MATLAB preferences directory. You will need to reset your preferences to fix this.
  1. Use the shortcut %AppData% from Windows Search to jump right to the current user's hidden AppData folder.
  2. Browse to the following folder: C:\Users\%username%\AppData\Roaming\MathWorks\MATLAB
  3. Rename the folder for your release of MATLAB, e.g R2022b to R2022b_old. Do not remove any folder that ends with "_licenses".
  4. Recreate the folder you renamed, e.g R2022b and leave it blank. Restart MATLAB.
The preferences will be regenerated automatically when you start MATLAB.
If you are using a roaming profile, please see the related article:
There will be some cases where the preferences directory is not being written to. In this case, you can set a MATLAB_PREFDIR environment variable to a temporary writable directory. Please see the article below for more details on how to set an environment variable.

Categories

Find more on Startup and Shutdown 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!