Help me powergui variable setting

5 ビュー (過去 30 日間)
Hun Shim
Hun Shim 2017 年 8 月 28 日
回答済み: Hun Shim 2017 年 8 月 29 日
Hi! This is Harry. I'm trying to set the sample time as a variable of powergui at m.file, and put the variable as the sample time in powergui. after setting Discrte on powergui, Simulink has an error as "the variable is not defined.". I guess it might have any delay before running m.file, but I did not find it how it can do. Please advise for me.

採用された回答

ES
ES 2017 年 8 月 28 日
Is the variable written to base workspace? A Simulink Model refers its configuration parameters from Base Workspace.

その他の回答 (1 件)

Hun Shim
Hun Shim 2017 年 8 月 29 日
Thanks. It is defined at m.file which calls back from model properties. Every variables are workable with the same way. But, powergui is exceptional. Pls advice.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!