Support needed for using aerospace blockset
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
SACHIN KHANDELWAL
2024-7-31
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Aerospace Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!