フィルターのクリア

Default values for masked subsystem parameters

3 ビュー (過去 30 日間)
Macko
Macko 2011 年 7 月 13 日
Hi,
I have defined a mask for my subsystem which contains two edit boxes and two dropdown selction boxes.
The edit boxes have the default value of 0. How would I go about changing this default value from 0 to -1?
Many thanks in advance!

採用された回答

Titus Edelhofer
Titus Edelhofer 2011 年 7 月 13 日
Hi,
is this block in a library? Then open the library, open the mask for the block and put the values you like in the edit box. The next time you pull this block from the library into some model it will have the parameters you entered as default parameter values.
Titus
  1 件のコメント
Macko
Macko 2011 年 7 月 13 日
Works like a charm! Thank you!

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

その他の回答 (1 件)

Bhumin Desai
Bhumin Desai 2011 年 11 月 25 日
what if the block is not in the library?
  2 件のコメント
Titus Edelhofer
Titus Edelhofer 2011 年 11 月 25 日
In principle the same: if it is in some model with some values entered on the mask. If you copy it somewhere else the values should be copied as well ...?
Bhumin Desai
Bhumin Desai 2011 年 11 月 28 日
My exact question is I'm modifying the AC3 Drive block in which I'm replacing 3 phase IM with the SPIM, I want to change the mask parameters of the motor in the FOC block but they set as default for 3 phase IM, I can not able to change it.
Can you plz suggest me some solution?

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by