How can I log signals in referenced models while running rapid accelerator?

Is it possible to log signals in referenced models in Simulink when the simulation is running under rapid accelerator? As far as I can tell, it's not possible. Am I missing something?

 채택된 답변

Mark
Mark 2011년 1월 21일

1 개 추천

Unfortunately, there is currently (as of R2010b) a limitation in Simulink that prevents logging signals in accelerated models. There are some "rough" alternatives, such as using "ToWorkspace" and "ToFile" blocks that might let you at least capture the data that interests you, but it is not as convenient as signal-logging would be.

댓글 수: 2

ToWorkspace blocks are inoperable in referenced models. A ToFile block would work as long as there is only one instantiation, and I'm sure it would slow things down quite a bit. Hopefully this problem is high up on the enhancements list?
Also, just to clarify: signal logging works in accelerated models, but not in rapidly accelerated models.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기

제품

질문:

2011년 1월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by