Clear Filters
Clear Filters

loading data while optimizing

2 views (last 30 days)
Hamideh Hayati
Hamideh Hayati on 19 Jun 2020
Commented: Alan Weiss on 21 Jun 2020
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
Alan Weiss
Alan Weiss on 21 Jun 2020
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

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!