Well, you can find ur solution at:
http://www.mathworks.com/support/solutions/data/5283.shtml
try to download 'cport'
or directly download at
ftp://ftp.mathworks.com/pub/contrib/v5/tools/cport/
read 'content.m' 1st :)
i need someone's help n i have a question
How to plot two or more functions but they are cointinous.
the functions maybe like:
y1=2*x for 0<x<2
y2=4 for 2<x<4
y3=2 for x>4
how to plot them in a cartesian coordinate, together.
following illustration is what i want to plot...
i need to control robot arm position, for easy matric manipulation, i use matlab.
but my problem is: i can't write manipulated data to parallel port :(
...How to write/read data 8 bit to/from parallel port(DB-25)in matlab? did matlab have any command like
"port[$378]:=data" (<--...