is it possible to generate multithread code from simulink model?
조회 수: 12 (최근 30일)
이전 댓글 표시
my intention behind this question is that i have to create simulink model which performs multitasking simulation & generate multithreaded code using real time workshop & then building,compiling & deploy on actual target.Thanks in advance.
댓글 수: 0
답변 (2개)
Azzi Abdelmalek
2013년 1월 19일
In simulink you can run several blocks in parallel, that means you can do what you are asking. In real time, that will depend on the number of tasks and the speed of your procesor.
댓글 수: 5
Azzi Abdelmalek
2013년 1월 21일
You have just to connect those blocks. For code generation, you have just to do it for one model (your model)
TAB
2013년 1월 21일
Find the below page on your simulink coder documentation
Simulink Coder >> User's Guide >> Model Architecture and Design >> Modelling >> Scheduling
It describes how to use different tasks in the same model and configure the model in multitasking mode.
참고 항목
카테고리
Help Center 및 File Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
