how to read Arduino analog input into Matlab spectrumAnalyzer?

5 ビュー (過去 30 日間)
Jun W
Jun W 2018 年 5 月 3 日
回答済み: Matthew Esch 2018 年 5 月 7 日
how to read Arduino analog input into Matlab spectrumAnalyzer?

採用された回答

Matthew Esch
Matthew Esch 2018 年 5 月 7 日
If you want to read Arduino analog input into MATLAB, take a look at the readVoltage function:
https://www.mathworks.com/help/supportpkg/arduinoio/ref/readvoltage.html?searchHighlight=readvoltage&s_tid=doc_srchtitle
If you want to read it into Simulink, check out all the Arduino examples / tutorials at:
https://www.mathworks.com/help/supportpkg/arduino/examples.html#d0e29
Depending on which application you are looking for, make sure you use the MATLAB add-in installer to get the corresponding Ardunio Support Package (MATLAB Support Package for Arduino Hardware and/or Simulink Support Package for Arduino Hardware)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by