??? parameter must be a handle array

조회 수: 7 (최근 30일)
Moataz
Moataz 2012년 3월 9일
답변: Arkadiy Turevskiy 2013년 9월 27일
I'm trying to write a matlab script to design a MPC controller tocontrol a desiel engine. I'm following the steps in the tutorial "MPC control for a chemical reactor with multiple operating conditions" when I try to specify values for inputs and outputs at inital conditions op.Inputs(1).u=1 I always get this error message ??? Parameter must be a handle array.
I hope anyone help me on this

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2013년 9월 27일
Hard to say what is happening without access to your code and model. Did you do
op = operspec('CSTR_INOUT');
for your model to create op.point specification object?
What do you get if you type
>>op
>>op.Inputs
If you ares till stuck, contact tech support.

카테고리

Help CenterFile Exchange에서 Refinement에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by