access a instantaneous variable from a for loop into simulink

1 Ansicht (letzte 30 Tage)
karthik pakala
karthik pakala am 31 Mär. 2017
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)

Antworten (0)

Kategorien

Mehr zu Block Libraries finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by