> I have huge problem, i need to know how i can read data from paraller
> port in rtw in simulink. How write an s-function .Thank You
***
The Real-Time Windows Target may be an option for you. It includes
driver for the parallel port, as well as for many data acquisition
boards. Please see http://www.mathworks.com/products/rtwt for more info.
***
To add some more to that answer: if you really need to write the
S-function yourself, it may be also possible. If you are running Windows
95/98/Me, just read the parallel port using the inp() istruction. For an
example how to write a S-function that accesses hardware, please see
e.g. the file matlab\rtw\c\dos\devices\das16di.c.
On Windows NT/2000/XP things are not so easy and I'd recommend using
some ready-made solution instead.
Jan
====================================================================
Jan Houska HUMUSOFT s.r.o.
http://www.humusoft.com 180 00 Praha 8
tel: ++ 420 2 84011730 Czech Republic
fax: ++ 420 2 84011740
====================================================================
1. I need help in SIMULINK RTW - HOW TO READ INFO FROM PARALLER PORT
I have problem, i need to use parraller port in real time workshop.I
want to read informations from this port in real time, and use scope
to see voltage.I use paraller port as simple A/D converter.I dont know
how to write S-function and how use an S-function Builder
2. Kermit/UniTerm/Vax Problem...
3. Help need (defining new simulink function and RTW target)
4. HP network printers - which protocols supported
5. Help Needed for VxWorks/Simulink/RTW Device Drivers
6. VisualAge for C++ mailing list
7. Help needed in Simulink RTW
9. i really need help with images
11. Really need Help with a matlab assignement
13. I really loves matlab, but the debugging function is really bad!