필터 지우기
필터 지우기

xPC Target & concurrent models - how to get TET?

조회 수: 6 (최근 30일)
Chethan Pandarinath
Chethan Pandarinath 2014년 7월 7일
댓글: Chethan Pandarinath 2014년 7월 8일
I have an xPC target model that runs on 4 separate cores. I would like to get the task execution time (TET) for all the cores.
This should be as simple as creating subsystems that have the xPC Target TET block and assigning one to each core. However, the xPC Target TET requires that only one instance exist per model, so I am unable to have one per core.
Does anyone have a good workaround for this?
Thanks in advance.

답변 (1개)

Suneesh
Suneesh 2014년 7월 7일
편집: Suneesh 2014년 7월 7일
Have you tried using the profiler? Here is an example for a concurrently executed model:
  댓글 수: 1
Chethan Pandarinath
Chethan Pandarinath 2014년 7월 8일
Hi, thanks Sunish. That's not a bad option for debugging. I was hoping to get the values myself for each core, for each clock tick, so I could log the values down with the rest of my datastream (which is output over a raw ethernet block). So unfortunately this won't quite do what I want, in the same way that an xPC Target TET block that worked for multiple cores would do. Thanks for the suggestion.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by