can we burn directly matlab programming into PIC without using micro-C language
4 views (last 30 days)
Show older comments
can we burn directly matlab programming into PIC without using micro-C language
2 Comments
mohammed abukhamies
on 8 Apr 2013
may we write a matlab code then convert it to a C code then to burn it on PIC micro controller
Walter Roberson
on 8 Apr 2013
Yes, following the answer Kaustubha gave.
Note: Student Edition licenses cannot use MATLAB Coder, not even as an add-on. You need an Academic or Professional license to use MATLAB Coder. The Professional license version of MATLAB Coder costs approximately $US6500 if I recall correctly.
Answers (2)
Kaustubha Govind
on 28 Feb 2012
Almost all embedded processors only provide compiler tools that convert C code to the appropriate binary format. Unless the vendor for your PIC provides a compiler that converts MATLAB code to a binary directly (as far as I know, there is no hardware that provides this), you have to convert MATLAB code to C (either manually, or using MATLAB Coder) and then compile that C code using the vendor tools.
2 Comments
Walter Roberson
on 28 Feb 2012
There are no tools to generate processor-dependent machine language right from MATLAB, and there are no processor which are able to run MATLAB directly.
tegguer mustapha
on 21 Apr 2015
hi please answer i use Arduino FIST: MATLAB Fuzzy Inference System to Arduino C Converter but that code not work with me whi please answer i need that
nur
on 29 Feb 2012
2 Comments
TAB
on 29 Feb 2012
MATLAB model ????
From simulink models you can generate c-code by using *Simulink Coder* (previously RealTime Workshop) and *Embedded coder*.
Kaustubha Govind
on 29 Feb 2012
And for MATLAB code, you can use MATLAB Coder as I already mentioned in my answer.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!