Clear Filters
Clear Filters

Support needed for using aerospace blockset

1 view (last 30 days)
https://uk.mathworks.com/help/aeroblks/analyze-dynamic-response-and-flying-qualities-of-aerospace-vehicles.html#mw_7530ee8e-d206-4db2-b73c-3d66075b402a I'm trying to use my own aircraft using this article but can't seem to find how to use custom variables. Has anyone used this before and can help? I know there are lots of variables which I could see in the matrix from workspace but how do I change all of them at once? Moreover, if someone can please guide me on how to define my aircraft model in this template would be helpful. I can't seem to understand what they mean here.

Answers (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL on 31 Jul 2024
To use the custom variables defined, you first need to understand the model and its behaviors. When you load the model, you will see some variables defined in the workspace. To change them all at once, I would recommend creating a MATLAB script that assigns the desired values to those variables. The following MathWorks documentation might be helpful for this : https://www.mathworks.com/help/simulink/ug/change-model-workspace-data.html
To understand how these workspace variables are being used in the model, you can search for the variables inside the model using 'Ctrl + F'. This will help you find all the definitions within the model.
I hope this helps!

Categories

Find more on Get Started with Aerospace Blockset in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!