MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Uživatelský manuál Strana 242

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 408
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 241
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 =
''
Zobrazit stránku 241
1 2 ... 237 238 239 240 241 242 243 244 245 246 247 ... 407 408

Komentáře k této Příručce

Žádné komentáře