Why can i not copy a subsystem reference to a different model?
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!