access a instantaneous variable from a for loop into simulink

2 次查看(过去 30 天)
Hi, I am running a simulation environment in simulink using xplane. I am also using XPlaneconnect plugin from NASA on Xplane to extract my data from it. Now, i need to extract the body frame velocities of the model from the xplane for my analysis. For this purpose i am using the XplaneConnect plugin to extract the required data using the name string of the data variable in the XPlane. Everything looks good until now. Now, the problem is, i need to send each of the data point accessed by the for loop in the data access code at every iteration of the for loop to the simulink model that im using to run a autopilot design (Basically i'm looking to access the instantaneous variable created in a for loop in matlab into a simulink model while it is running)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by