Convert Subsystem into Referenced Subsystem programmatically?

If I right-click on a subsystem, I can select Subsystem & Model Reference > Convert to > Referenced Subsystem …, press OK, and the subsystem is converted. Is there a way of performing this programmatically, from the command window or a script?

Answers (1)

1 Comment

This converts a subsystem to a model reference. I am looking to convert a subsystem to a subsystem reference (introduced in 2019b).

Sign in to comment.

Products

Release

R2021a

Asked:

on 19 Aug 2021

Commented:

on 19 Aug 2021

Community Treasure Hunt

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

Start Hunting!