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.

回答(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 个评论

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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by