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

1 次查看(过去 30 天)
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

回答(2 个)

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

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

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!