필터 지우기
필터 지우기

Simulink with Arduino: File May be Corrupt

조회 수: 1 (최근 30일)
Kerk Hui Hong
Kerk Hui Hong 2016년 9월 12일
답변: Farouk Moukaddem 2016년 9월 19일
I just started with Simulink with the below block diagram.
Here I am using Arduino Mega 2560 trying to light up a LED and the below error shows up.
What can I do with this, this is my first try.

답변 (1개)

Farouk Moukaddem
Farouk Moukaddem 2016년 9월 19일
Hi Kerk,
This error message could be due to the following reasons:
1) Writing a matrix with more than 10^8 elements. Mat files of the v4 format have a limit of 10^8 elements for matrices. Instead, try saving these matrices in the v5 format.
2) If you are using a third party tool to generate these files, dimensions of the variables could be specified incorrectly in the binary files.
To workaround this issue, try adding your folder under your SET PATH and typing the path and the fileName when using load or save command.
Thanks,
Farouk

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by