Thank you for taking the time to read my question.
I am trying to optimize the extraction conditions with ANN-GA. I am studying through papers and YouTube videos, but there are limits to what I can learn on my own.
How do I save a prediction model obtained through MATLAB's neural network fitting, so that I can call it in the objective function of the Optimization Toolbox?
It seems possible to save an ANN model through the "generate code/export model" menu, but when I try to call the saved file in the Optimization Toolbox.
As a MATLAB beginner, I am not familiar with operating MATLAB through commands and codes. Could you explain in a simple way how to obtain a Function that can be used in the Optimization Toolbox?