MATLAB support package for arduino hardware
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Omkar Bhanap
am 28 Jan. 2018
Kommentiert: Walter Roberson
am 29 Jan. 2018
Is it possible to create standalone application of Arduino board using MATLAB code ?
0 Kommentare
Akzeptierte Antwort
Omkar Bhanap
am 29 Jan. 2018
Bearbeitet: Omkar Bhanap
am 29 Jan. 2018
1 Kommentar
Walter Roberson
am 29 Jan. 2018
interp1() is supported for Code Generation; see https://www.mathworks.com/help/matlab/ref/interp1.html#bvlxnl6-1
Weitere Antworten (1)
Sebastian Castro
am 28 Jan. 2018
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 Kommentar
Walter Roberson
am 28 Jan. 2018
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.
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!