Signal Logging in a Protected Reference Model
5 次查看(过去 30 天)
显示 更早的评论
Hi,
I have created a Simulink model that references a protected model. I have protected the reference model for the purpose of hiding intellectual property from a client. In my reference model there are >300 signals that are being logged to a Simulink Simulation Dataset object. Though, once I protect the reference model the logged signals no longer appear in the Matlab workspace after simulation. Is signal logging not supported in protected reference models? If I don't protect the reference model the signal logging works correctly. If signal logging is not supported with protected reference models then what are my options for retrieving signal data from the model?
Thanks, Vince
0 个评论
回答(1 个)
David Balbuena
2020-11-5
Hi Vincenzo,
You are correct that you cannot log signals inside a Protected Model. As a workaround, you have 3 options:
1) Bring the signal to the top level using an output port on the model reference.
2) Use a "To File" block inside the protected model to log the signals
3) Use a "To Workspace" block inside the protected model to log the signals
Hope that helps,
David
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model References 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!