필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Error calculating with parameter 'Value' in simulink

조회 수: 3 (최근 30일)
Min Zhao
Min Zhao 2014년 7월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
In website "http://www.mathworks.com/matlabcentral/answers/92888-how-do-i-run-a-model-in-simulink-from-my-matlab-function-where-my-simulink-parameters-are-defined-in", there is a good answer "options = simset('SrcWorkspace','current'); sim('modelname',[],options)".
In my simulink model, a similar problem appears.
The simulink model contains a variable mask parameter "C". when I linearize a simulink model in M file, there is a error "Undefined function or variable 'C'". However, the above fuctions "options = simset('SrcWorkspace','current'); sim('modelname',[],options)" are not properly here.
Could you give any suggestion for me to solve this problem. Thank you!

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by