Model Reference Control Bug
When I use the Model Reference Controller in the Simulink Neural Network toolbox, (with Size of Hidden Layer: 10, No. Delayed Reference Inputs: 100, No. Delayed Controller Outputs: 1, No. Delayed Plant Outputs: 100, Max. Reference Value: 100, Min. Reference Value = -100, Max. Interval Value: 2, Min. Interval Value: 0.1, Controller Training Samples: 1000), I get the following error:
??? Error using ==> mldivide
Matrix dimensions must agree.
Error in ==> nnmodref at 482
step_size=ceil(max([min([(rand*(max_r_int-min_r_int)+min_r_int) max_r_int])
min_r_int])/Ts);
Error in ==> nncontrolutil at 20
feval(command,varargin{:});
??? Error while evaluating uicontrol Callback
Ts appears to be equal to [], since it obtains its value from arg1 that is passed to nnmodref, and there is no argument passed. Is there a fix for this?
Thanks,
Maria
I am running MATLAB Version 7.12.0.635 (R2011a), Neural Network Toolbox Version 7.0.1 (R2011a), and Simulink Version 7.7 (R2011a)When I use the Model Reference Controller in the Simulink Neural Network toolbox, (with Size of Hidden Layer: 10, No. Delayed Reference Inputs: 100, No. Delayed Controller Outputs: 1, No. Delayed Plant Outputs: 100, Max. Reference Value: 100, Min. Reference Value = -100, Max. Interval Value: 2, Min. Interval Value: 0.1, Controller Training Samples: 1000), I get the following error:
??? Error using ==> mldivide
Matrix dimensions must agree.
Error in ==> nnmodref at 482
step_size=ceil(max([min([(rand*(max_r_int-min_r_int)+min_r_int) max_r_int])
min_r_int])/Ts);
Error in ==> nncontrolutil at 20
feval(command,varargin{:});
??? Error while evaluating uicontrol Callback
Ts appears to be equal to [], since it obtains its value from arg1 that is passed to nnmodref, and there is no argument passed. Is there a fix for this?
Thanks,
Maria
I am running MATLAB Version 7.12.0.635 (R2011a), Neural Network Toolbox Version 7.0.1 (R2011a), and Simulink Version 7.7 (R2011a) When I use the Model Reference Controller in the Simulink Neural Network toolbox, (with Size of Hidden Layer: 10, No. Delayed Reference Inputs: 100, No. Delayed Controller Outputs: 1, No. Delayed Plant Outputs: 100, Max. Reference Value: 100, Min. Reference Value = -100, Max. Interval Value: 2, Min. Interval Value: 0.1, Controller Training Samples: 1000), I get the following error:
??? Error using ==> mldivide
Matrix dimensions must agree.
Error in ==> nnmodref at 482
step_size=ceil(max([min([(rand*(max_r_int-min_r_int)+min_r_int) max_r_int])
min_r_int])/Ts);
Error in ==> nncontrolutil at 20
feval(command,varargin{:});
??? Error while evaluating uicontrol Callback
Ts appears to be equal to [], since it obtains its value from arg1 that is passed to nnmodref, and there is no argument passed. Is there a fix for this?
Thanks,
Maria
I am running MATLAB Version 7.12.0.635 (R2011a), Neural Network Toolbox Version 7.0.1 (R2011a), and Simulink Version 7.7 (R2011a) neural network, neural networks, control, model predictive controller MATLAB Answers — New Questions