Sending the <Esc> function through a serial port
2 views (last 30 days)
Show older comments
Hi,
My name is Gunnar and I am a M.Sc. student of engineering. I am working on controlling a Fraction Collector through my serial port. It works fine, all except this one function called pulse. In the guide for the device it says this about this function: "Pulsing will continue until it is aborted with an esc character."
This works fine when I use hyperterminal (windows program) to communicate with the serial port, but how to send Esc through matlab.
I have tried sending '0x1B', 'ESC', 'AT s2', '###' and many more. All have been formatted as string.
Is there perhaps any way of having fprintf recognize that my string is ascii code ?
However I am open to any suggestions.
Thanks in advance.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!