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

1 vue (au cours des 30 derniers jours)
nur
nur le 28 Fév 2012
can we burn directly matlab programming into PIC without using micro-C language
  2 commentaires
mohammed abukhamies
mohammed abukhamies le 8 Avr 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 le 8 Avr 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.

Connectez-vous pour commenter.

Réponses (2)

Kaustubha Govind
Kaustubha Govind le 28 Fév 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 commentaires
Walter Roberson
Walter Roberson le 28 Fév 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 le 21 Avr 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

Connectez-vous pour commenter.


nur
nur le 29 Fév 2012
from MATLAB model can convert to c????
  2 commentaires
TAB
TAB le 29 Fév 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 le 29 Fév 2012
And for MATLAB code, you can use MATLAB Coder as I already mentioned in my answer.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by