How to write Matlab Code for Microcontroller (such as 8051, PIC) and convert them into HEX code such that it can be burn on the microcontroller ?

조회 수: 7 (최근 30일)
I am a newbie i m doing project on microcontroller so i want to write the codes for microcontroller on MATLAB and use it on the microcontroller. Please help me....

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2012년 8월 15일
You can use the MATLAB Coder product to generate standalone C code from your MATLAB code, and then use the tool-chain specific to your hardware to convert the C code to binary code. Note that not all MATLAB functions are supported for code-generation. Please see MATLAB Language Subset for Code Generation.
  댓글 수: 10
Walter Roberson
Walter Roberson 2013년 9월 11일
MATLAB Coder, an optional product, can convert some subsets of MATLAB to ANSI C code. There is no version of MATLAB that can convert MATLAB to C without using MATLAB Coder (or, on very early releases, MATLAB Compiler, but these days that is not what the modern MATLAB Compiler does.)

댓글을 달려면 로그인하십시오.


Sachin Verma
Sachin Verma 2016년 10월 6일
Hii , i convert code to c from matlab simulink model. How to specify pin fuction in sumulink model of matlab generated code to do task. like adc input pin or output pin.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by