Data Log Simulink Arduino Uno

4 visualizzazioni (ultimi 30 giorni)
Giorgio Concu
Giorgio Concu il 4 Ott 2017
Commentato: Giorgio Concu il 11 Dic 2017
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?

Risposte (1)

Suze Zhang
Suze Zhang il 9 Ott 2017
Hi Giorgio,
Instead of using the "To Workspace" block, you can use "To File" block and store the data in a MAT-file.
  3 Commenti
Krishnakumar Gopalakrishnan
This does not work for me. Can you please explain further?
Giorgio Concu
Giorgio Concu il 11 Dic 2017
I simply changed MATLAB release: from 2016b included the bug has been fixed.

Accedi per commentare.

Categorie

Scopri di più su MATLAB Support Package for Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by