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!