Why can i not copy a subsystem reference to a different model?
7 views (last 30 days)
Show older comments
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 "".
0 Comments
Answers (1)
Balavignesh
on 11 Feb 2024
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
0 Comments
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!