Signal Logging with RSim

5 次查看(过去 30 天)
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

采纳的回答

Adithya Addanki
Adithya Addanki 2016-1-12
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 个评论
Cory Hendrickson
Cory Hendrickson 2016-1-12
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 2021-3-18
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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by