Error message in Simulink

조회 수: 7 (최근 30일)
Alexander S.
Alexander S. 2023년 3월 20일
답변: Sivapriya Srinivasan 2023년 3월 29일
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?

답변 (1개)

Sivapriya Srinivasan
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!

카테고리

Help CenterFile Exchange에서 Naming Conventions에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by