MATLAB Answers

Problem with simulink neural network predictive controller

18 views (last 30 days)
aman hari
aman hari on 12 Jul 2019
Commented: Kamgang Blaise Tcheumchoua on 9 Sep 2021 at 2:58
whenevr i use a defined example of the predictive controller it works well in simulink but when i try to use my model as plant model to generate data its showing the following error:
"Error using nnident (line 1608)
Too many return arguments are specified. Specify only one.
Error in nncontrolutil (line 19)
feval(command,varargin{:}); - Show complete stack trace
Error while evaluating UIControl Callback."
I thought the problems might be with my modela and replaced it entirely with the given example of "cstr" model but still the same problem
Then i tried to replace one of the predefined model with mine own but still the same problem persists
Can anyone please help me out here?
thankyou
  1 Comment
bhaskar varma
bhaskar varma on 20 Feb 2020
hi aman,
im also facing the same issue ,
have you resolved it..?
please let me know whats the solution.

Sign in to comment.

Answers (1)

Dorin
Dorin on 20 Nov 2019
For a new Simulink model, Matlab 2019b, in configuration Parameters /Data Import/Export has ticked for default an additional variable “Single simulation output -> out”. A solution is disactivate this option.
All the best
  3 Comments
Kamgang Blaise Tcheumchoua
Kamgang Blaise Tcheumchoua on 9 Sep 2021 at 2:58
Hello,
I face thesame issue and after deactivating the 'single simulation output", thesame errro message still pop up

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!