Simulink & Real time Workshop (RTW)

67 views (last 30 days)
test
test on 5 Feb 2011
I am going to simulate an MPSOC system with simulink and going to map it on a many-core target platfrom. Can I use Real Time Workshop for this purpose? Can I use my own developed code for mapping and scheduling? Which types of processors does RTW support(PowerPC, ARM, ...)?

Accepted Answer

MarkB
MarkB on 7 Feb 2011
RTW is intended to generate ISO/ANSI C code, and as a result of that, it doesn't generate any special commands in the code for targeting multiple cores. It doesn't prevent you from doing this in any way, but it also doesn't generate anything extra for multiple cores either. There are a variety of techniques, such as S-functions, Custom Storage classes, and customizing your own "main" that would allow you to add extra code that may help do this.
Along similar lines, as long as you have an ISO/ANSI-compliant compiler, you should be able to use the generated code on any processor you like.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!