MATLAB Answers

Moataz
0

??? parameter must be a handle array

Asked by Moataz
on 9 Mar 2012
Latest activity Answered by Arkadiy Turevskiy on 27 Sep 2013
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

  0 Comments

Sign in to comment.

1 Answer

Answer by Arkadiy Turevskiy on 27 Sep 2013

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.

  0 Comments

Sign in to comment.