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

21 ビュー (過去 30 日間)
Ish
Ish 2014 年 9 月 8 日
コメント済み: Sharda 2017 年 12 月 6 日
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 件のコメント
OJIJ
OJIJ 2016 年 1 月 12 日
thank you for your answer. I success to resolve this error
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 Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by