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

17 views (last 30 days)
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.

Answers (2)

Ran Sha
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
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.

Sign in to comment.


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

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!