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?

 Accepted Answer

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 Comments

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.

Sign in to comment.

More Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products

Asked:

on 21 Jan 2011

Community Treasure Hunt

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

Start Hunting!