Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
Rik Bakker
Rik Bakker le 29 Jan 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 "".

Réponses (1)

Balavignesh
Balavignesh le 11 Fév 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

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by