can we burn directly matlab programming into PIC without using micro-C language

1 view (last 30 days)
can we burn directly matlab programming into PIC without using micro-C language
  2 Comments
mohammed abukhamies
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
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.

Sign in to comment.

Answers (2)

Kaustubha Govind
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
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
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

Sign in to comment.


nur
nur on 29 Feb 2012
from MATLAB model can convert to c????
  2 Comments
TAB
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
Kaustubha Govind on 29 Feb 2012
And for MATLAB code, you can use MATLAB Coder as I already mentioned in my answer.

Sign in to comment.

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!