MATLAB support package for arduino hardware
조회 수: 2 (최근 30일)
이전 댓글 표시
Is it possible to create standalone application of Arduino board using MATLAB code ?
댓글 수: 0
채택된 답변
Omkar Bhanap
2018년 1월 29일
편집: Omkar Bhanap
2018년 1월 29일
댓글 수: 1
Walter Roberson
2018년 1월 29일
interp1() is supported for Code Generation; see https://www.mathworks.com/help/matlab/ref/interp1.html#bvlxnl6-1
추가 답변 (1개)
Sebastian Castro
2018년 1월 28일
It is not directly possible... but if you have a pre-existing MATLAB function or you're more comfortable with text-based programming, you can call MATLAB code in Simulink using a "MATLAB Function block.
So long as you use the subset of MATLAB language/functions supported for C code generation, you should be fine.
- Sebastian
댓글 수: 1
Walter Roberson
2018년 1월 28일
However, the calls such as writeDigitalPin do not appear to be supported for code generation, so you would need to use Arduino blocks to do the I/O to get this to work.
참고 항목
카테고리
Help Center 및 File 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!