|
From: Philippose R. <sa...@ro...> - 2006-02-23 19:54:47
|
Hello people,
A good evening to you all :-)!
Well...I was scouring the net for Simulink
S-Functions capable of setting up a TCP/IP Connection,
and what do you know....:-)
Check up the following site:
http://www.it.fht-esslingen.de/~zimmerma/software/IOlib.htm
I dont know if I should just stop trying to come up
with my own S-Function, or continue with that attempt.
Here are the highlights of the above set of
utilities:
1. It has both Matlab command line, and Simulink
block interfaces
2. In Simulink...it also has a block called
"RTCTime"....which adapts the simulink simulation step
size during the simulation, in order to make it run in
"real-time"..as in..."wall clock..real world"
simulation rates.
3. It can create TCP/IP servers and clients
4. It sends out data which comes into its input
ports from Simulink (unlimited number)...in the form
of a character string with the following format:
"t=...\nch1=...\nch2=...\nch3=...\n"
5. It can accept a maximum of 16 values (channels)
as input from a TCP/IP port, read into the system
again using the same format as the send command as
shown above, and extracted and sent out to output
ports (or was it a single multiplexed output
port...but ya...the same!)
6. It it written by a university professor...and is
distributed only as DLLs...and though free for
non-commercial use, is clearly stated as not being
Freeware.
So...what is the vote? Do I continue with my own
version of a Simulink-JSBSim interface, or do we adapt
JSBSim to work with the above utility libraries?
In a way I am happy, in that...there does exist a
solution...but on the other hand...solving such
problems always give me satisfaction, which is being
taken away from me by this set of utilities :-)!
Hmmm.....!
Have a nice day!
Regards,
Philippose
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|