loading data while optimizing

Hello all,
I am optimizing a number of parameters with optimtool. In the body of the function I fprintf some data and load them again to use them. While optimizing, during the first iteration it works fine and loads data without any problem, but in the second iteration I don't know why it can not load the data; It loads a matrix with 0 row and column! Does anybody know what the problem is or has faced this kind of issue?
Thanks

1 Comment

Without seein your code or a relevant excerpt, I cannot guess what is going on.
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Answers (0)

Categories

Asked:

on 19 Jun 2020

Commented:

on 21 Jun 2020

Community Treasure Hunt

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

Start Hunting!