Error message in Simulink
9 ビュー (過去 30 日間)
古いコメントを表示
Hello,
when I try to run my Simulink program I suddenly get the following error message:
In 'coder_compile:toolchain:ToolchainRegistryIsEmpty', parameter {0} must be a real scalar.
The error appears sometimes and sometimes not. Sometimes after a Matlab restart the error is gone, but not always. Sometimes it is so penetrating that it does not disappear at all.
I don't know where it suddenly comes from, I don't know where to start looking? Can anyone of you help?
0 件のコメント
回答 (1 件)
Sivapriya Srinivasan
2023 年 3 月 29 日
Hello,
The error message you are seeing indicates that there is an issue with the MATLAB toolchain registry. This registry is responsible for managing the tools that MATLAB uses to build and compile code, including Simulink models.
There are several things you can try to resolve this issue:
1.Check your MATLAB version and update it to the latest version if necessary. Sometimes, outdated MATLAB versions can cause issues with the toolchain registry.
2.Check if any changes have been made to your MATLAB or Simulink installation recently. If so, try to revert those changes and see if the error goes away.
3.Try clearing the MATLAB toolchain registry by running the following command in the MATLAB command window:
>> coder.cleanupToolchainRegistry
This will clear any invalid entries in the registry and may help to resolve the issue.
4.If none of the above solutions work, you may need to reinstall MATLAB and/or Simulink to ensure that your installation is functioning correctly.
If the error persists, it may be helpful to contact for further assistance
You can also refer to this documentation for reference
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Naming Conventions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!