MATLAB: Difference between revisions

Jump to navigation Jump to search
613 bytes added ,  22 March 2014
Add instructions on fixing a bug
(Warning about the run script)
(Add instructions on fixing a bug)
Line 5: Line 5:


When using the Generate Run Script, you may have to manually adjust the paths in the created .bat file to match your FlightGear setup.
When using the Generate Run Script, you may have to manually adjust the paths in the created .bat file to match your FlightGear setup.
=== Bug in Generate FlightGear Run Script ===
The Generate FlightGear Run Script block in the Aerospace Blockset creates a faulty FlightGear command line when the "Select FlightGear data flow" option is set to "Send". It is correct when set to either "Receive" or "Send-Receive". The faulty command is
--fdm=network,localhost,5501,5502,5503
This is not a valid FlightGear command and is rejected by the program. The correct commands for this would be:
--fdm=null --native-fdm=socket,in,30,localhost,5502,udp
Replace the faulty command in the generated batch file in order to run your simulation in FlightGear.


== External links ==
== External links ==

Navigation menu