Signal Logging with RSim

2 views (last 30 days)
I am converting a model to use rapid simulation target (RSim) but I'm running into an issue with data logging. The original model uses signal logging but this apparently is not supported by RSim (A warning occurs during build). Is there any way to log these signals without having to bring them to an outport of the top-level system? A "To File" block seems to work but slows the execution time considerably. Any other options? I have many signals in low level subsystems and would like to avoid the routing work and mess.
Thanks, Cory

Accepted Answer

Adithya Addanki
Adithya Addanki on 12 Jan 2016
Hi Cory,
I understand you have already used the "To File" block as a workaround for the issue you are experiencing. As you mentioned it works, but there is a downside to the execution time or performance the only other way worth giving a shot is to route the signals to a top-level system.
Please note that our developers are aware of this request and are actively investigating it. It may be considered in a future release.
Thank you,
Adithya
  2 Comments
Cory Hendrickson
Cory Hendrickson on 12 Jan 2016
Thanks for your response Adithya. I think a solution to this would be useful. Bringing everything up to the top-level can take a long time with complex models.
Cory
Korbinian Volgt
Korbinian Volgt on 18 Mar 2021
Hello Adithya,
it has been some time. Has there been any update on this?
It would be especially usefull for logging flexibility, aswell as working with library blocks, because rooting outports aswell as adding toWorkspace / toFile / loggingScopes requires disabling the links.
Thank you very much in advance
Korbinian

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!