Changing predefined values in simulink examples

2 visualizaciones (últimos 30 días)
Sahand Sabet
Sahand Sabet el 11 de En. de 2022
Respondida: Ayush Aniket el 18 de Dic. de 2024
Hello!
I am openning this simulink existing example "sm_stewart_platform". I have 2 questions:
First: can I change the predefined values in this simulation? for instance, g_desnity
Second: I see that some properties are defined by user in this example (i.e., roll pitch yaw), however there are a lot of variables that are not defined there. How can I find the location that these values are stored?
Thanks

Respuestas (1)

Ayush Aniket
Ayush Aniket el 18 de Dic. de 2024
The pre-defined values can be changed in the existing examples in Simulink.
In Simulink, the storage location of variables depends on their scope and the specific Simulink block they are associated with. The locations could be MATLAB workspace, model workspace or data dictionary. The location of the variable can be different according to the model settings and configuration. Refer to the following link to read more about the different way of storing Simulink models data: https://www.mathworks.com/help/simulink/ug/determine-where-to-store-data-for-simulink-models.html

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by