フィルターのクリア

how can I make d^(5.13) ??

1 回表示 (過去 30 日間)
sia
sia 2013 年 5 月 17 日
I wanna make d^(5.13) such that d = a variable and the user can change the value of that from GUI. I made ist with Constant Block and i wrot d^(5.13) and if i want to chang the variable d i chang whole of the value :(.... with wich block or how can i do it???
THX

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 17 日
編集済み: Azzi Abdelmalek 2013 年 5 月 17 日
Use set_param function
d=10
set_param('YourModel/Constant','Value',num2str(d))
  3 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 17 日
編集済み: Azzi Abdelmalek 2013 年 5 月 17 日
sia
sia 2013 年 5 月 17 日
I know, but i dont know how i can use it :( and i didnt finde good examples ...

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by