Simulation Diagnostic Error: CRL: "None" cannot be found in the registry.
25 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145334/image.png)
0 Comments
Answers (2)
Ran Sha
on 20 Aug 2015
Edited: Ran Sha
on 20 Aug 2015
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 Comments
Sharda
on 6 Dec 2017
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
on 18 Sep 2014
Can you post the model as well so that there is better insight ?
--sreeram mohan
0 Comments
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!