Error in SIL execution for model within a resettable subsystem

조회 수: 10 (최근 30일)
Jerome Almon
Jerome Almon 2024년 10월 7일
댓글: Jerome Almon 2024년 10월 25일
Hello,
I am trying to test my model using simulink test, by placing it within a resettable subsystem, however only the MIL mode passes and the SIL mode fails for the reset functionality with a message "Simulation Error: Subsystem Model_xxx contains referenced models, which is not supported for SIL and PIL simulations.". The model within the resettable subsystem contains 2 Unit Delay blocks with the 'Initial Condition' set which I want to reset. I would appreciate any hints or alternate options to test the rest functionality in SIL mode.
Thanks,
Jerome.

답변 (1개)

David
David 2024년 10월 8일
Hi there!
It sounds like you're encountering a common challenge when testing models in Simulink. The error regarding referenced models in SIL (Software-in-the-Loop) and PIL (Processor-in-the-Loop) simulations can be tricky. One approach you might consider is to simplify your model by removing the referenced models temporarily to isolate the issue, or you can also explore the use of MATLAB's Stateflow for managing resets more effectively.
If you’re looking for more detailed guidance or assistance with your MATLAB assignments, feel free to check out www.matlabassignmentexperts.com. Our team specializes in helping students navigate complex MATLAB challenges and can provide tailored solutions to enhance your learning experience. You can also reach us at WhatsApp: [+1 (315) 557-6473] or via email at info@matlabassignmentexperts.com.
  댓글 수: 1
Jerome Almon
Jerome Almon 2024년 10월 25일
Thanks for the recommendations. Right after this, I reached info@matlabassignmentexperts.com twice to get more support on this toppic via my company email, but I haven't received any response till now. Could you suggest how I could proceed here ?

댓글을 달려면 로그인하십시오.

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by