Code generation with a System Composer model
Ältere Kommentare anzeigen
Hi,
I'm trying to generate the code with system composer containing simulink models.

This is the software architecture. Following is the error:

unfortunally I have to put the option "Periodic sample time constraint" to "Ensure sample time indipendent". I thik that the problem is that we have this signals es: DataCalc_D etc. that are used for the scheduling. This is also the reason, maybe, why the scheduling editor is not working as expected.
These sw component must be time-triggered, not Event-triggered. So basically I would like to know how to convert this models to time-triggered task.
Thank you,
Antonio
2 Kommentare
Josh Kahn
am 25 Mai 2023
Do you have a mix of export-function models and rate-based models? or is the intent for them all to be rate-based? Also, do you have an external scheduler or are you looking for the scheduler to be part of the generated code?
Josh
antonio-deepware
am 25 Mai 2023
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu System Composer finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!