Simulink.Signal object as parameter in a masked subsystem

6 visualizzazioni (ultimi 30 giorni)
In https://de.mathworks.com/matlabcentral/answers/358898-how-can-i-use-a-simulink-signal-object-as-a-parameter-in-a-masked-subsystem-in-r2017a a possible workaround for specifiying Simulink.Signal objects as mask parameter is provided. Although it can be specified that way, the next show-stopper appears "(...) returns a Simulink.Signal object that has property values that need to be evaluated. This object should be instantiated in a workspace and referenced by name in Simulink". I don't see any properties, which need to be evaluated. It it possible to have Simulink.Signal object in the scope of a masked subsystem only at all (as above solution indicates)? If so: How can this be achieved?
  2 Commenti
Oliver Jaehrig
Oliver Jaehrig il 9 Apr 2025
What do you want to do with the Simulink.Signal object in the Mask Workspace?
Thank you for providing the use case.
Matthias Schwaiger
Matthias Schwaiger il 9 Apr 2025
Integrate a compiled model of an component, which requires these Simulink.Signals, into a larger simulation model, without having name clashes. Different component providers use same variable names occasionally and thus the scope of the components data should be kept in its own mask workspace.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by