Why can i not copy a subsystem reference to a different model?

조회 수: 7 (최근 30일)
Rik Bakker
Rik Bakker 2024년 1월 29일
답변: Balavignesh 2024년 2월 11일
I want to copy a subsystem into a different model. This subsystem is consisting of multiple 'subsystem references'. When i copy and paste the subsystem in a different model an error dialog appears with the following warning here below. There are no requirements linked at all, and the reference subsystem has Read and Write access.
-->Failed to duplicate requirements info: Failed to modify contents of Subsystem Reference block 'TestModel/E/RearAngleProcessing_axle1' from the callback of block 'TestModel/E/RearAngleProcessing_axle1/Scope'. Use the mask callback of the immediate masked parent block "".
-->Failed to duplicate requirements info: Failed to modify contents of Subsystem Reference block 'TestModel/E/RearAngleProcessing_axle1' from the callback of block 'TestModel/E/RearAngleProcessing_axle1/Subsystem6'. Use the mask callback of the immediate masked parent block "".
-->Failed to duplicate requirements info: Failed to modify contents of Subsystem Reference block 'TestModel/E/RearAngleProcessing_axle1' from the callback of block 'TestModel/E/RearAngleProcessing_axle1/Subsystem9'. Use the mask callback of the immediate masked parent block "".

답변 (1개)

Balavignesh
Balavignesh 2024년 2월 11일
Hi Rik,
It seems that you are encountering difficulties when attempting to copy a subsystem, which includes multiple referenced subsystems, into a different model. This issue may arise if the referenced subsystems are not located within the same directory as the new model or if they have not been included in MATLAB's search path.
To resolve this, I recommend ensuring that both the subsystem references and the new model reside in the same folder. Additionally, verify that this folder has been added to MATLAB's search path to enable proper recognition and access to the subsystem references.
Hope that helps!
Balavignesh

카테고리

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

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by