Simulink.Signal object as parameter in a masked subsystem

6 ビュー (過去 30 日間)
Matthias Schwaiger
Matthias Schwaiger 2025 年 4 月 4 日
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 件のコメント
Oliver Jaehrig
Oliver Jaehrig 2025 年 4 月 9 日
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 2025 年 4 月 9 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by