I am working in Matlab7.I want to know how to program a microcontroller (8051) in Matlab. how to generate hex code and how to deploy it.

I am working in Matlab7.I want to know how to program a microcontroller (8051) in Matlab. how to generate hex code and how to deploy it.

Respuestas (1)

You can use the MATLAB Coder product to generate ANSI/ISO compliant C code from MATLAB code. How you would deploy ANSI C code onto an 8051 might be better addressed on a micocontrollers forum, since that is not MATLAB-specific.

1 comentario

MATLAB Coder as a product was not available nearly as early as MATLAB 7.1, and MATLAB 7.1 was also after the time that the MATLAB Compiler product generated C code, so there is no supported method within MATLAB itself.
I am weak on the topic of code generation supported by Simulink in that time frame.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.

Preguntada:

el 19 de Dic. de 2013

Comentada:

el 19 de Dic. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by