Octave has an opensource implementation of lsqnonlin that might be a decent
substitute:
https://sourceforge.net/p/octave/optim/ci/default/tree/inst/lsqnonlin.m

On Tue, Aug 1, 2017 at 9:04 AM, Pascal Monasse <mona...@imagine.enpc.fr>
wrote:

> Hi Miguel,
>
> Thanks for the answer. Unfortunately, it seems the optim toolbox is not in
> the
> list. This is annoying, the function lsqnonlin, applying (the very popular
> in
> computer vision) Levenberg-Marquardt algorithm, belongs to optim. It is
> not so
> difficult to have a basic LM algorithm implemented, but it would have been
> better to have a strongly tested one rather than a home-made one.
>
> Best,
> Pascal
>
> On Tuesday, August 01, 2017 05:54:52 PM Miguel Colom wrote:
> > Hi Pascal,
> >
> > Quoting Pascal Monasse <mona...@imagine.enpc.fr>:
> > > Hi all,
> > >
> > > My demo uses the optimization toolbox of Matlab. My first question is
> > > whether it is authorized (or, in other words, did we buy the licenses
> for
> > > it). More generally, which toolboxes are authorized?
> >
> > I think the right person to answer this is Enric Meinhardt, since he
> > was writing the MATLAB software guidelines, and also Martín Rais for
> > technical question on MATLAB.
> >
> > About if we have authorization to use the toolboxes, of course yes.
> > The green server uses the campus license and as far as I know we have
> > the right to use the product this way.
> >
> > > Assuming yes, I need to include the files of the toolbox in the mcc
> line.
> > > For that, I need something like:
> > > mcc ... -a $matlab_path/toolbox/optim
> > > Does anybody have such experience of including a toolbox with mcc ?
> > >
> > > In my demo, I get the message
> > >
> > >     Undefined variable "optim" or class "optim.options.Lsqnonlin".
> > >
> > > when the demo runs the Matlab-generated executable. My diagnostic is
> that
> > > it is necessary to insert the toolbox in the generated executable,
> hence
> > > the question above.
> >
> > Enric and Martín will be able to answer better than me. However, what
> > I can do is to show the list of installed toolboxes (see below).
> >
> > Best,
> > Miguel
> >
> > -------
> >
> > $ tree -d -L 2 /usr/local/MATLAB/toolbox/
> >
> > /usr/local/MATLAB/toolbox/
> > &#9500;&#9472;&#9472; coder
> > &#9474;   &#9500;&#9472;&#9472; codedescriptor_core
> > &#9474;   &#9500;&#9472;&#9472; coder
> > &#9474;   &#9500;&#9472;&#9472; connectivity
> > &#9474;   &#9500;&#9472;&#9472; connectivity_core
> > &#9474;   &#9500;&#9472;&#9472; emlcodermex
> > &#9474;   &#9500;&#9472;&#9472; foundation
> > &#9474;   &#9500;&#9472;&#9472; profile
> > &#9474;   &#9500;&#9472;&#9472; rtiostream
> > &#9474;   &#9492;&#9472;&#9472; trace
> > &#9500;&#9472;&#9472; compiler
> > &#9474;   &#9500;&#9472;&#9472; bundles
> > &#9474;   &#9500;&#9472;&#9472; compilerdemos
> > &#9474;   &#9500;&#9472;&#9472; deploy
> > &#9474;   &#9500;&#9472;&#9472; deploymentIdentity
> > &#9474;   &#9500;&#9472;&#9472; glnxa64
> > &#9474;   &#9500;&#9472;&#9472; java
> > &#9474;   &#9500;&#9472;&#9472; mlhadoop
> > &#9474;   &#9500;&#9472;&#9472; patch
> > &#9474;   &#9500;&#9472;&#9472; private
> > &#9474;   &#9492;&#9472;&#9472; Resources
> > &#9500;&#9472;&#9472; distcomp
> > &#9474;   &#9500;&#9472;&#9472; array
> > &#9474;   &#9500;&#9472;&#9472; bin
> > &#9474;   &#9500;&#9472;&#9472; cluster
> > &#9474;   &#9500;&#9472;&#9472; config
> > &#9474;   &#9500;&#9472;&#9472; distcomp
> > &#9474;   &#9500;&#9472;&#9472; @distcomp
> > &#9474;   &#9500;&#9472;&#9472; examples
> > &#9474;   &#9500;&#9472;&#9472; glnxa64
> > &#9474;   &#9500;&#9472;&#9472; gpu
> > &#9474;   &#9500;&#9472;&#9472; lang
> > &#9474;   &#9500;&#9472;&#9472; mapreduce
> > &#9474;   &#9500;&#9472;&#9472; mpi
> > &#9474;   &#9500;&#9472;&#9472; parallel
> > &#9474;   &#9500;&#9472;&#9472; pctdemos
> > &#9474;   &#9500;&#9472;&#9472; private
> > &#9474;   &#9500;&#9472;&#9472; user
> > &#9474;   &#9492;&#9472;&#9472; worker
> > &#9500;&#9472;&#9472; eml
> > &#9474;   &#9500;&#9472;&#9472; eml
> > &#9474;   &#9500;&#9472;&#9472; lib
> > &#9474;   &#9492;&#9472;&#9472; resources
> > &#9500;&#9472;&#9472; fixedpoint
> > &#9474;   &#9492;&#9472;&#9472; fixedpoint
> > &#9500;&#9472;&#9472; hdlcoder
> > &#9474;   &#9492;&#9472;&#9472; hdllib
> > &#9500;&#9472;&#9472; images
> > &#9474;   &#9500;&#9472;&#9472; colorspaces
> > &#9474;   &#9500;&#9472;&#9472; glnxa64
> > &#9474;   &#9500;&#9472;&#9472; icons
> > &#9474;   &#9500;&#9472;&#9472; images
> > &#9474;   &#9500;&#9472;&#9472; imdata
> > &#9474;   &#9500;&#9472;&#9472; imdemos
> > &#9474;   &#9500;&#9472;&#9472; imuitools
> > &#9474;   &#9500;&#9472;&#9472; iptformats
> > &#9474;   &#9492;&#9472;&#9472; iptutils
> > &#9500;&#9472;&#9472; javabuilder
> > &#9474;   &#9500;&#9472;&#9472; jar
> > &#9474;   &#9500;&#9472;&#9472; javabuilder
> > &#9474;   &#9492;&#9472;&#9472; webfigures
> > &#9500;&#9472;&#9472; local
> > &#9474;   &#9500;&#9472;&#9472; classpath
> > &#9474;   &#9500;&#9472;&#9472; +matlab
> > &#9474;   &#9500;&#9472;&#9472; path
> > &#9474;   &#9492;&#9472;&#9472; template
> > &#9500;&#9472;&#9472; matlab
> > &#9474;   &#9500;&#9472;&#9472; addons
> > &#9474;   &#9500;&#9472;&#9472; addons_app
> > &#9474;   &#9500;&#9472;&#9472; addons_product
> > &#9474;   &#9500;&#9472;&#9472; addons_zip
> > &#9474;   &#9500;&#9472;&#9472; apps
> > &#9474;   &#9500;&#9472;&#9472; audiovideo
> > &#9474;   &#9500;&#9472;&#9472; cefclient
> > &#9474;   &#9500;&#9472;&#9472; codetools
> > &#9474;   &#9500;&#9472;&#9472; configtools
> > &#9474;   &#9500;&#9472;&#9472; connector
> > &#9474;   &#9500;&#9472;&#9472; datafun
> > &#9474;   &#9500;&#9472;&#9472; datamanager
> > &#9474;   &#9500;&#9472;&#9472; datastoreio
> > &#9474;   &#9500;&#9472;&#9472; datatypes
> > &#9474;   &#9500;&#9472;&#9472; demos
> > &#9474;   &#9500;&#9472;&#9472; depfun
> > &#9474;   &#9500;&#9472;&#9472; elfun
> > &#9474;   &#9500;&#9472;&#9472; elmat
> > &#9474;   &#9500;&#9472;&#9472; external
> > &#9474;   &#9500;&#9472;&#9472; funfun
> > &#9474;   &#9500;&#9472;&#9472; general
> > &#9474;   &#9500;&#9472;&#9472; glnxa64
> > &#9474;   &#9500;&#9472;&#9472; graph2d
> > &#9474;   &#9500;&#9472;&#9472; graph3d
> > &#9474;   &#9500;&#9472;&#9472; graphfun
> > &#9474;   &#9500;&#9472;&#9472; graphics
> > &#9474;   &#9500;&#9472;&#9472; guide
> > &#9474;   &#9500;&#9472;&#9472; hardware
> > &#9474;   &#9500;&#9472;&#9472; hds
> > &#9474;   &#9500;&#9472;&#9472; helptools
> > &#9474;   &#9500;&#9472;&#9472; icons
> > &#9474;   &#9500;&#9472;&#9472; images
> > &#9474;   &#9500;&#9472;&#9472; imagesci
> > &#9474;   &#9500;&#9472;&#9472; iofun
> > &#9474;   &#9500;&#9472;&#9472; lang
> > &#9474;   &#9500;&#9472;&#9472; mapreduceio
> > &#9474;   &#9500;&#9472;&#9472; matfun
> > &#9474;   &#9500;&#9472;&#9472; networklib
> > &#9474;   &#9500;&#9472;&#9472; ops
> > &#9474;   &#9500;&#9472;&#9472; optimfun
> > &#9474;   &#9500;&#9472;&#9472; plottools
> > &#9474;   &#9500;&#9472;&#9472; polyfun
> > &#9474;   &#9500;&#9472;&#9472; randfun
> > &#9474;   &#9500;&#9472;&#9472; scribe
> > &#9474;   &#9500;&#9472;&#9472; settings
> > &#9474;   &#9500;&#9472;&#9472; sparfun
> > &#9474;   &#9500;&#9472;&#9472; specfun
> > &#9474;   &#9500;&#9472;&#9472; specgraph
> > &#9474;   &#9500;&#9472;&#9472; spf
> > &#9474;   &#9500;&#9472;&#9472; strfun
> > &#9474;   &#9500;&#9472;&#9472; supportpackagemanagement
> > &#9474;   &#9500;&#9472;&#9472; system
> > &#9474;   &#9500;&#9472;&#9472; testframework
> > &#9474;   &#9500;&#9472;&#9472; timefun
> > &#9474;   &#9500;&#9472;&#9472; timeseries
> > &#9474;   &#9500;&#9472;&#9472; toolboxmanagement
> > &#9474;   &#9500;&#9472;&#9472; toolbox_packaging
> > &#9474;   &#9500;&#9472;&#9472; toolstrip
> > &#9474;   &#9500;&#9472;&#9472; uitools
> > &#9474;   &#9500;&#9472;&#9472; verctrl
> > &#9474;   &#9500;&#9472;&#9472; webcam
> > &#9474;   &#9492;&#9472;&#9472; winfun
> > &#9500;&#9472;&#9472; mlhadoop
> > &#9474;   &#9492;&#9472;&#9472; jar
> > &#9500;&#9472;&#9472; rtw
> > &#9474;   &#9500;&#9472;&#9472; rtw
> > &#9474;   &#9492;&#9472;&#9472; targets
> > &#9500;&#9472;&#9472; shared
> > &#9474;   &#9500;&#9472;&#9472; advisor
> > &#9474;   &#9500;&#9472;&#9472; asynciolib
> > &#9474;   &#9500;&#9472;&#9472; cgir_fe
> > &#9474;   &#9500;&#9472;&#9472; cgxe
> > &#9474;   &#9500;&#9472;&#9472; cmlink
> > &#9474;   &#9500;&#9472;&#9472; coder
> > &#9474;   &#9500;&#9472;&#9472; comparisons
> > &#9474;   &#9500;&#9472;&#9472; configset
> > &#9474;   &#9500;&#9472;&#9472; controllib
> > &#9474;   &#9500;&#9472;&#9472; cxxfe_mi
> > &#9474;   &#9500;&#9472;&#9472; dastudio
> > &#9474;   &#9500;&#9472;&#9472; dsp
> > &#9474;   &#9500;&#9472;&#9472; dspblks
> > &#9474;   &#9500;&#9472;&#9472; filterdesignlib
> > &#9474;   &#9500;&#9472;&#9472; hadoopserializer
> > &#9474;   &#9500;&#9472;&#9472; hwconnectinstaller
> > &#9474;   &#9500;&#9472;&#9472; imageslib
> > &#9474;   &#9500;&#9472;&#9472; instrument
> > &#9474;   &#9500;&#9472;&#9472; ipp
> > &#9474;   &#9500;&#9472;&#9472; m3i
> > &#9474;   &#9500;&#9472;&#9472; measure
> > &#9474;   &#9500;&#9472;&#9472; mlreportgen
> > &#9474;   &#9500;&#9472;&#9472; multimedia
> > &#9474;   &#9500;&#9472;&#9472; networklib
> > &#9474;   &#9500;&#9472;&#9472; optimlib
> > &#9474;   &#9500;&#9472;&#9472; rptgen
> > &#9474;   &#9500;&#9472;&#9472; siglib
> > &#9474;   &#9500;&#9472;&#9472; simtargets
> > &#9474;   &#9500;&#9472;&#9472; simulation_data_repository
> > &#9474;   &#9500;&#9472;&#9472; simulink
> > &#9474;   &#9500;&#9472;&#9472; sl_async_streaming
> > &#9474;   &#9500;&#9472;&#9472; slcg_dmr
> > &#9474;   &#9500;&#9472;&#9472; sl_coverage_configset
> > &#9474;   &#9500;&#9472;&#9472; sldd
> > &#9474;   &#9500;&#9472;&#9472; spcuilib
> > &#9474;   &#9500;&#9472;&#9472; statslib
> > &#9474;   &#9500;&#9472;&#9472; system
> > &#9474;   &#9492;&#9472;&#9472; testmeaslib
> > &#9500;&#9472;&#9472; signal
> > &#9474;   &#9500;&#9472;&#9472; eml
> > &#9474;   &#9500;&#9472;&#9472; glnxa64
> > &#9474;   &#9500;&#9472;&#9472; sigdemos
> > &#9474;   &#9500;&#9472;&#9472; signal
> > &#9474;   &#9500;&#9472;&#9472; sigtools
> > &#9474;   &#9492;&#9472;&#9472; sptoolgui
> > &#9500;&#9472;&#9472; simulink
> > &#9474;   &#9500;&#9472;&#9472; simulink
> > &#9474;   &#9500;&#9472;&#9472; simulink_data_dictionary
> > &#9474;   &#9492;&#9472;&#9472; sl_types
> > &#9500;&#9472;&#9472; stats
> > &#9474;   &#9500;&#9472;&#9472; classreg
> > &#9474;   &#9500;&#9472;&#9472; clustering
> > &#9474;   &#9500;&#9472;&#9472; eml
> > &#9474;   &#9500;&#9472;&#9472; glnxa64
> > &#9474;   &#9500;&#9472;&#9472; mlearnapp
> > &#9474;   &#9500;&#9472;&#9472; stats
> > &#9474;   &#9492;&#9472;&#9472; statsdemos
> > &#9492;&#9472;&#9472; vision
> >      &#9500;&#9472;&#9472; glnxa64
> >      &#9500;&#9472;&#9472; include
> >      &#9500;&#9472;&#9472; vision
> >      &#9500;&#9472;&#9472; visiondata
> >      &#9500;&#9472;&#9472; visiondemos
> >      &#9500;&#9472;&#9472; visionrt
> >      &#9492;&#9472;&#9472; visionutilities
> >
> > 200 directories
>
> --
> IPOL - Image Processing On Line   - http://ipol.im/
>
> contact     e...@ipol.im          - http://www.ipol.im/meta/contact/
> news+feeds  twitter @IPOL_journal - http://www.ipol.im/meta/feeds/
> announces   annou...@list.ipol.im - http://tools.ipol.im/mm/announce/
> discussions discuss@list.ipol.im  - http://tools.ipol.im/mm/discuss/
>
--
IPOL - Image Processing On Line   - http://ipol.im/

contact     e...@ipol.im          - http://www.ipol.im/meta/contact/
news+feeds  twitter @IPOL_journal - http://www.ipol.im/meta/feeds/
announces   annou...@list.ipol.im - http://tools.ipol.im/mm/announce/
discussions discuss@list.ipol.im  - http://tools.ipol.im/mm/discuss/

Reply via email to