Simulink library 2019a is empty
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi. I updated my Matlab to 2019a and then the Simulink library became empty. Tired to reflesh but did not work. The error shows:
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\simulink\blocks\slblocks.m". Error
Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program
Files\MATLAB\R2019a\toolbox\stateflow\stateflow_lib\slblocks.m". Error Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\rtw\rtw\slblocks.m". Error
Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\control\ctrlmodels\slblocks.m".
Error Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\daq\daqblks\slblocks.m". Error
Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\dsp\dsp\slblocks.m". Error
Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program
Files\MATLAB\R2019a\toolbox\hdlcoder\hdllib\sl_lib\slblocks.m". Error Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program
Files\MATLAB\R2019a\toolbox\instrument\instrumentblks\instrumentblks\slblocks.m". Error Message: Too many input
arguments..
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\simulink\blocks\sb2sl\slblocks.m".
Error Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\sl3d\sl3d\slblocks.m". Error
Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\slcontrol\slctrlutil\slblocks.m".
Error Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program Files\MATLAB\R2019a\toolbox\slrt\blocks\slblocks.m". Error
Message: Too many input arguments..
Warning: An error occurred while parsing "C:\Program
Files\MATLAB\R2019a\toolbox\rtw\targets\xpc\target\build\xpcblocks\thirdpartydrivers\slblocks.m". Error Message:
Too many input arguments..
>> Any one can help???
0 commentaires
Réponses (1)
Hornett
le 26 Juin 2024
It looks like there are issues with the `slblocks.m` files in your Simulink library due to the error message "Too many input arguments." This can happen for a variety of reasons, including corruption during the update process or incompatibilities.
Here are some steps you can try to resolve this issue:
Clear MATLAB Cache
Clear the MATLAB cache to ensure that there are no corrupted cached files causing the issue.
rehash toolboxcache
Step 2: Restore Default Path
Restore the default MATLAB path to ensure no custom paths are causing conflicts.
restoredefaultpath
savepath
Step 3: Check for Custom `slblocks.m` Files
Ensure that there are no custom `slblocks.m` files in your MATLAB path that might be causing the issue. Use the `which` command to locate the `slblocks.m` files.
which -all slblocks.m
Step 4: Reinstall Simulink
If the above steps do not work, try reinstalling Simulink:
1. Open MATLAB.
2. Go to the Home tab.
3. Click on Add-Ons and select Manage Add-Ons
4. Uninstall Simulink.
5. Reinstall Simulink.
Step 5: Update MATLAB and Simulink
Ensure that you have the latest updates for MATLAB and Simulink. You can check for updates from the **Home** tab:
1. Go to the Home tab.
2. Click on Help.
3. Select Check for Updates.
I hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!