Send serial commands with stx and etx

Hello, I need to send commands to the comport to a serial device. The commands look as follows:
[STX] Command [ETX]
How can I send the stx and etx to the serial port? the Command section is a string. As example, this is one of the commands I have to write to the device:
D011R1;1;OPEN=TOOLBOX42
How can I do this? Thanks in advance

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

Wim
on 23 May 2014

Edited:

Wim
on 23 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!