Is it possible to generate Code without the use of the Base Workspace?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
eric heins
am 20 Feb. 2017
Beantwortet: Hari Desanur
am 22 Feb. 2017
I want to generate C-Code from my Model in Simulink. I am already able to generate the right Code with my Custom StorageClass, but now I like to generate the Code without the use of the base Workspace. I don't want to declare a Parameter with 'Parameter = StorageClass.Parameter' in the Workspace anymore. Is it possible to save all the Information i Need in the Model itself? That when i open the Model nothing is loaded in the Workspace and i am still able to generate Code?
0 Kommentare
Akzeptierte Antwort
Hari Desanur
am 22 Feb. 2017
This can be done using a Data Dictionary. You can store all the Parameters in this dictionary file as mentioned in this page.
Then you can configure the Simulink model to use this data dictionary file as shown in this documentation page.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!