From: Jean on 27 Oct 2009 23:49 Hi, I wrote a program in C++ that connects to Microsoft Flight Simulator and retrieves some data from a flight simulation. More specifically I am retrieving 3 accelerations and 3 angular velocities (xyz). I would like to take those values from the c++ program and feed them as inputs into a simulink model I constructed. In other words, I would like the c++ program to be part of the simulation as a data source for the model. I tried using the S-Function builder but it wont compile the c++ program. The code I wrote runs perfectly in Visual C++ 2008 Express and I specified the proper compiler using the "mex -setup" command. Is there any way to accomplish this?
|
Pages: 1 Prev: how to create waterfall plot Next: PROPT solution verification |