MATLAB support package for arduino hardware

조회 수: 7 (최근 30일)
Omkar Bhanap
Omkar Bhanap 2018년 1월 28일
댓글: Walter Roberson 2018년 1월 29일
Is it possible to create standalone application of Arduino board using MATLAB code ?

채택된 답변

Omkar Bhanap
Omkar Bhanap 2018년 1월 29일
편집: Omkar Bhanap 2018년 1월 29일
I'm getting problem while using interp1() function. It is not supporting code generation.Any alternative for this?

추가 답변 (1개)

Sebastian Castro
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
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 CenterFile Exchange에서 Device Driver Blocks에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by