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.
6 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Kaustubha Govind
on 19 Dec 2013
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 Comment
Walter Roberson
on 19 Dec 2013
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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!