Data Log Simulink Arduino Uno

Hi! I'm using Simulink in external mode with my Arduino Uno in order to read one analog signal. I'm not able to register the history of my data in the Matlab workspace, because the ToWorkspace block logs only the last two values. How can I fix it?

回答 (1 件)

Suze Zhang
Suze Zhang 2017 年 10 月 9 日

0 投票

Hi Giorgio,
Instead of using the "To Workspace" block, you can use "To File" block and store the data in a MAT-file.

3 件のコメント

Giorgio Concu
Giorgio Concu 2017 年 10 月 10 日
I already tried but it doesn't work. I fixed it by upgrading MATLAB from 2015b to 2017b. Thank you
Krishnakumar Gopalakrishnan
Krishnakumar Gopalakrishnan 2017 年 12 月 11 日
This does not work for me. Can you please explain further?
Giorgio Concu
Giorgio Concu 2017 年 12 月 11 日
I simply changed MATLAB release: from 2016b included the bug has been fixed.

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

カテゴリ

ヘルプ センター および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

質問済み:

2017 年 10 月 4 日

コメント済み:

2017 年 12 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by