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

6 visualizaciones (últimos 30 días)
Rik Bakker
Rik Bakker el 29 de En. de 2024
Respondida: Balavignesh el 11 de Feb. de 2024
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 "".

Respuestas (1)

Balavignesh
Balavignesh el 11 de Feb. de 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

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by