필터 지우기
필터 지우기

Signal Logging in a Protected Reference Model

조회 수: 3 (최근 30일)
Vincenzo
Vincenzo 2018년 3월 7일
답변: David Balbuena 2020년 11월 5일
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

답변 (1개)

David Balbuena
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

카테고리

Help CenterFile Exchange에서 Model References에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by