User`s manual
5 Calling Java from MATLAB
5-72
Running the serialexample Program
The value of result depends upon whether your system’s COM1 port is cabled
to an oscilloscope. If you have run the example with an oscilloscope, you see the
result of reading the serial port.
result =
45
If you run the example without an oscilloscope attached, there is no data to
read. In that case, you see an empty character array.
result =
''