Azzera filtri
Azzera filtri

How to identify blocks in Simulink diagrams that are added by the user (in a diagram created programmatically)?

1 visualizzazione (ultimi 30 giorni)
Hi,
I have got the following problem: I am creating Simulink models programmatically by adding blocks and lines within a script. At a later time I want to know if the user added some blocks manually and if yes, which blocks.
I wondered what is the best way to do this... Is there maybe like a hidden attribute I can modify or even add to my programmatically added blocks? The only way I thought of is to use prefix or suffix at block names.
Thanks a lot for your help in advance!
  1 Commento
Sriram Narayanan
Sriram Narayanan il 8 Mag 2015
There is currently no way to identify Simulink blocks which were added programmatically other than to add suffixes and prefixes as you mentioned.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by