matt-weinstein / adigator

Matlab Algorithmic Differentiation Toolbox
22 stars 5 forks source link

About using the load command #15

Open litengmu opened 3 years ago

litengmu commented 3 years ago

ADiGator creators, Thank you so much for the work that you put into this tool! In user guide.pdf refers, when using the load command, it must be of the syntax var = load(.) and not simply load(.), as for the second case the algorithm would be unable to track what data was brought into the program. But, the loading data is a struct. SO I have to use var.## when I call the data. But then, error happens,like this error, schwefel_213_ADiGatorGrd (line 23) alpha.f = var.alpha.f(cada1f1); Can you help me solve this problem? Thank you very much!