Signal Logging in a Protected Reference Model
    조회 수: 9 (최근 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에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기
			
	제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
