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 Exchange에서 MATLAB 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