MATLAB Answers

how to read Arduino analog input into Matlab spectrumAnalyzer?

21 views (last 30 days)
JUN WANG
JUN WANG on 3 May 2018
Answered: Matthew Esch on 7 May 2018
how to read Arduino analog input into Matlab spectrumAnalyzer?

  0 Comments

Sign in to comment.

Accepted Answer

Matthew Esch
Matthew Esch on 7 May 2018
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 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.