How to create a subsystem programmatically using a specified set of blocks ?

12 vues (au cours des 30 derniers jours)
youssef michel
youssef michel le 13 Juil 2017
Commenté : Erik Voigt le 28 Fév 2018
I am trying to Use the function Simulink.BlockDiagram.createSubsystem to create a subsystem from a set of blocks using matlab script, however the function is not working, any ideas why ?

Réponses (1)

ES
ES le 13 Juil 2017
Which version of MATLAB you are using? Because in newer versions Simulink.BlockDiagram.createSubsystem is available as Simulink.BlockDiagram.createSubSystem (note the upper case S)
If this is not the problem, what is your exact error message?

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by