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?

 Risposta accettata

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 Commenti

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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Prepare Model Inputs and Outputs in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 21 Gen 2011

Community Treasure Hunt

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

Start Hunting!

Translated by