Info

This question is closed. Reopen it to edit or answer.

Problem with Neural Network steering

1 view (last 30 days)
Marcin
Marcin on 8 Oct 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Good afternoon,
I would like to create Neural Network control of the prediction algorithm.
To do this I used the standard NN predictive controller framework and attached the embedded Matlab function to the control signal that comes from controller.
Unfortunately the algorithm creates some arrays on the basic on the steering signal and also pushes these arrays to the sub functions it calls.
The problem is standard - I'm still receiving the error that all the matrixes/statements should be predefined and expressions that are used for this predefining should be constant.
What to do in this situation ? As the standalone the prediction algorithm works fine and I don't need to predefine all the statements.
I spent a lot of time on compilation but I have impression that I'm going deeper and deeper in the sub-functions with still a lot of errors...
Thanks, Marcin

Answers (0)

Community Treasure Hunt

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

Start Hunting!