Ji, Just wondering : why are some of you using an Open Source Flight Simulator only to connect it to one of the most expensive (read least value for money) mathematical software packages in the world ?
You could at least consider trying to hookup to Octave (an Open Source Matlab lookalike), Scilab or Numpy/Scipy instead : that would fit the ideas behind Flightgear a lot better ;-) I suggest the people who want to connect to Matlab to try a commercial simulator like MS-FlightSimulator instead ... Regards, Kees On Monday, May 21, 2012, Balaji Veeraiyan wrote: > HI, > I had success in receiving integer by specifying the > number of bytes at the receiving end as 4 the data is displayed in the 4th > row of the display block, I exported the data from the incoming pocket on > to workspace and I found that the integer data is available in the 4th > column but when I switch the data type to float and specify the size as 4 > I get values out of range in all the four rows. > In UDP packet the memory allocation for int and float is 4 bytes. > > On Thu, May 17, 2012 at 6:28 PM, Curtis Olson <curtol...@gmail.com> wrote: > > I've never done matlab communication myself, so hopefully someone else > > can jump in here. But if you still get random values (or numbers that > > are entirely out of range and wrong) then perhaps another thing would > > be to check very carefully your data types and alignment on the > > receiving end. > > > > Try to get the first value or two in the structure working and proceed > > > > from there. > > > > On Wed, May 16, 2012 at 11:21 PM, Balaji Veeraiyan <balaji...@gmail.com>wrote: ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users