Simulation Diagnostic Error: CRL: "None" cannot be found in the registry.

25 次查看(过去 30 天)
I am trying to run my simulation and I keep getting a Build and Model Error. I am using Matlab 2013b and using S-Functions, the Arduino Mega 2560 microcontroller, Simulink Coder, Stateflow, and Embedded coder.
Attached is a picture of error report I keep getting.

回答(2 个)

Ran Sha
Ran Sha 2015-8-20
编辑:Ran Sha 2015-8-20
This is a problem with your Code Replacement Library. Open your model in Simulink and go to:
Preferences->Code Generation->Interface
The 'Code replacement library' option is probably currently set to 'none'. change it to whatever is suitable with your device. If you're not sure what is the suitable option. I suggest going to another working model and seeing what is the CRL option set to there.
  2 个评论
Sharda
Sharda 2017-12-6
I am facing the same issue. There are 3 more options shown in my model: C API, External Mode, ASAP2. @OJIJ which CRL did you choose to resolve this error.

请先登录,再进行评论。


Sreeram Mohan
Sreeram Mohan 2014-9-18
Can you post the model as well so that there is better insight ?
--sreeram mohan

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by