Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Neural Network steering

Status
Not open for further replies.

marcinw1976

Computer
Oct 15, 2013
1


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...

Does somebody know what to do ?

Thanks, Marcin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor