Can i use protected models in external mode?

8 Ansichten (letzte 30 Tage)
Nural Mammadov
Nural Mammadov am 18 Apr. 2020
Bearbeitet: Brandon Stevens am 7 Aug. 2024
I want created a Simulink Library for my Arduino Hardware. I created a model reference block and then convert a protected this block using callback.
But I run on External Mode, get this error :
Protected models do not work in External mode or rapid accelerator simulations.
Is there any solution method for this problem ?

Akzeptierte Antwort

Brandon Stevens
Brandon Stevens am 7 Aug. 2024
Bearbeitet: Brandon Stevens am 7 Aug. 2024
This feature is present in MATLAB Release R2023b. Please see the release notes for the comment below for more information:
Starting in R2023b, when a protected model creator specifies that a protected model supports C code generation, the protected model also supports external mode simulation
The MATLAB Answers post below has some more information and alternative workflows you can use before R2023b:

Weitere Antworten (0)

Kategorien

Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by