フィルターのクリア

Is there a way to analyse your arduino "Code" through matlab?

4 ビュー (過去 30 日間)
Michael Pawlowski
Michael Pawlowski 2017 年 10 月 21 日
コメント済み: Madhu Govindarajan 2017 年 10 月 26 日
Meaning the code is uploaded to the arduino device using standard arduino software. Is there a way to interface to run that code through matlab to see its outputs?
  2 件のコメント
Michael Pawlowski
Michael Pawlowski 2017 年 10 月 24 日
Yes i am aware of direct read and write. My question is based on code that is already inbedded in the arduino. I would like to use matlab to analyse the outputs for the curremt code. Is this possible?
Madhu Govindarajan
Madhu Govindarajan 2017 年 10 月 26 日
One way I can think of - Have your arduino code send out the outputs to the serial port. In MATLAB you can query serial ports using this function and its related functions - https://www.mathworks.com/help/matlab/ref/serial.html

サインインしてコメントする。

回答 (1 件)

Corey Silva
Corey Silva 2017 年 10 月 24 日
You can use the MATLAB support package for Arduino. This will let you connect to and control Arduino inputs and outputs from MATLAB.

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by