Help me powergui variable setting
5 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
ES
2017-8-28
Is the variable written to base workspace? A Simulink Model refers its configuration parameters from Base Workspace.
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electromechanical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!