Simulink library 2019a is empty
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Hornett
2024년 6월 26일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!