Data Log Simulink Arduino Uno

4 次查看(过去 30 天)
Giorgio Concu
Giorgio Concu 2017-10-4
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
Hi Giorgio,
Instead of using the "To Workspace" block, you can use "To File" block and store the data in a MAT-file.
  3 个评论
Krishnakumar Gopalakrishnan
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB 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