Creating reference subsystems programmatically / création de sous système de référence en code Matlab

Hi
I like to create a referenced subsysteme from a pre-existing masked subsyteme but I haven't find any command to do it. / je souhaiterais convertir un sous système maské en sous-systeme de réference, lui aussi maské, mais je n'arrive pas à trouvé la syntaxe matlab.
BG/Cdt
François

Answers (2)

You cannot convert a subsystem to a referenced subsystem when the subsystem:
  • Has a test harness associated to it.
  • Has no read/write permissions.
  • Has a mask that is trying to modify its contents.
Refer the documentation link for more information.
Hi Ajay,
Thanks for this answer, but what I am looking for is the matlab command equivalent as rigth clic Convert To Referenced Subsystem...
Because I can do it 'manually' I presume I can do it programmatically :)
BR
François

Products

Release

R2019b

Asked:

on 15 Jun 2020

Answered:

on 10 Nov 2020

Community Treasure Hunt

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

Start Hunting!