On 8/20/2013 10:20 AM, Gerry wrote: > From reading the posts, there seems to be an issue with the fact that > lsqnonlin.m does not install in 2012a. I have the student version. It > should be in the Optimisation Toolbox. Check my system for the file > and the used the which command in Matlab to determine whereabouts. > Nowhere to be found. This is most frustrating to say the least if it > is the case that Matlab files are missing from an installation. > I reckon there may also be an issue with fmincon as well on 2012a - > not running on my system yet runs perfectly with the same code on > another university system (cost me a good number of days trying to > solve issue with the fmincon command issue (which I just left in the > end) and it may turn out to be an installation problem). > > Am I correct there is an issue with the installation of 2012a wrt to > lsqnonlin.m and maybe the Optimisation Toolbox in general? Grateful if > anyone could get me heads-up on this. > > Thank you, > Gerry >
It seems to me that you need to reinstall MATLAB to ensure that you have Optimization Toolbox.
Alan Weiss MATLAB mathematical toolbox documentation