Is it possible to compile matlab code to Keil 5 code(C language) ?
4 次查看(过去 30 天)
显示 更早的评论
I have FM4 S6E2CC ARM Cortex platform communicate with it thru Keil 5. I want to compile function for adding noise to audio signal and to filter it with 2 filters in matlab. How can i insert matlab code in Keil 5 and compile to work? Should i compile matlab code with matlab compiler to c or there is another way to do that. Thanks!
0 个评论
回答(2 个)
Mark McBroom
2022-12-22
You should use MATLAB Coder to generate C/C++ code from from your MATLAB code.
2 个评论
Walter Roberson
2022-12-22
It seems to be common for people using that class if devices to create Simulink models and export to target.
Mark McBroom
2023-1-31
Have you installed the ARM Cortext support package? https://www.mathworks.com/hardware-support/arm-cortex-m.html
Thanks.
mark.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!