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

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.

Risposte (2)

Ran Sha
Ran Sha il 20 Ago 2015
Modificato: Ran Sha il 20 Ago 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 Commenti

thank you for your answer. I success to resolve this error
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.

Accedi per commentare.

Can you post the model as well so that there is better insight ?
--sreeram mohan

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Centro assistenza e File Exchange

Richiesto:

Ish
il 8 Set 2014

Commentato:

il 6 Dic 2017

Community Treasure Hunt

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

Start Hunting!

Translated by