MATLAB: How to log signals in referenced models while running rapid accelerator

loggingmodel referencesimulink

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?

Best 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.