MATLAB Answers

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

1 view (last 30 days)
François ROUX
François ROUX on 15 Jun 2020
Answered: François Roux on 10 Nov 2020
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

  0 Comments

Sign in to comment.

Answers (2)

Ajay Pattassery
Ajay Pattassery on 23 Jul 2020
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.

  0 Comments

Sign in to comment.


François Roux
François Roux on 10 Nov 2020
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

  0 Comments

Sign in to comment.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!