This question is closed. Reopen it to edit or answer.
Generate C/C++ code for ARM processor using Simulink Coder
1 view (last 30 days)
Show older comments
ran shalit on 25 Jun 2015
Closed: Walter Roberson on 25 Jun 2015
I see that there are several option for porting simulink code into c/c++ ARM for Altera. In http://www.mathworks.com/help/supportpkg/alterasoc/ref/coder-target-pane-alterasoc-hardware.html#bujddtf-10 http://www.mathworks.com/help/supportpkg/alterasoc/ug/build-and-run-executable-on-ljklkjasdf-platform.html
It is said "You can configure a Simulink® model to generate code, build an executable, and then run the executable on your Altera® SoC platform. The executable runs in the Linux® environment on the ARM® Cortex-A9 processor on the Altera SoC platform."
1. There is something basic that I don't understand here, c/c++ code is independent of architecture (ARM/Intel, etc.), therefore why is there is need to configure the generating code to one process of another, if the result is C/C++ independent source code, which is built somewhere else (not in Simulink).
2. Another thing - Why is it for Linux ? What can I do to make it OS independent (bare-metal - no OS) ?
Thank you, Ran
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!