[IPOL discuss] [IPOL tech] [IPOL] Matlab toolboxes

Pascal Getreuer getreuer at gmail.com
Thu Aug 10 16:46:55 CEST 2017


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 <monasse at 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 <monasse at 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/
> > ├── coder
> > │   ├── codedescriptor_core
> > │   ├── coder
> > │   ├── connectivity
> > │   ├── connectivity_core
> > │   ├── emlcodermex
> > │   ├── foundation
> > │   ├── profile
> > │   ├── rtiostream
> > │   └── trace
> > ├── compiler
> > │   ├── bundles
> > │   ├── compilerdemos
> > │   ├── deploy
> > │   ├── deploymentIdentity
> > │   ├── glnxa64
> > │   ├── java
> > │   ├── mlhadoop
> > │   ├── patch
> > │   ├── private
> > │   └── Resources
> > ├── distcomp
> > │   ├── array
> > │   ├── bin
> > │   ├── cluster
> > │   ├── config
> > │   ├── distcomp
> > │   ├── @distcomp
> > │   ├── examples
> > │   ├── glnxa64
> > │   ├── gpu
> > │   ├── lang
> > │   ├── mapreduce
> > │   ├── mpi
> > │   ├── parallel
> > │   ├── pctdemos
> > │   ├── private
> > │   ├── user
> > │   └── worker
> > ├── eml
> > │   ├── eml
> > │   ├── lib
> > │   └── resources
> > ├── fixedpoint
> > │   └── fixedpoint
> > ├── hdlcoder
> > │   └── hdllib
> > ├── images
> > │   ├── colorspaces
> > │   ├── glnxa64
> > │   ├── icons
> > │   ├── images
> > │   ├── imdata
> > │   ├── imdemos
> > │   ├── imuitools
> > │   ├── iptformats
> > │   └── iptutils
> > ├── javabuilder
> > │   ├── jar
> > │   ├── javabuilder
> > │   └── webfigures
> > ├── local
> > │   ├── classpath
> > │   ├── +matlab
> > │   ├── path
> > │   └── template
> > ├── matlab
> > │   ├── addons
> > │   ├── addons_app
> > │   ├── addons_product
> > │   ├── addons_zip
> > │   ├── apps
> > │   ├── audiovideo
> > │   ├── cefclient
> > │   ├── codetools
> > │   ├── configtools
> > │   ├── connector
> > │   ├── datafun
> > │   ├── datamanager
> > │   ├── datastoreio
> > │   ├── datatypes
> > │   ├── demos
> > │   ├── depfun
> > │   ├── elfun
> > │   ├── elmat
> > │   ├── external
> > │   ├── funfun
> > │   ├── general
> > │   ├── glnxa64
> > │   ├── graph2d
> > │   ├── graph3d
> > │   ├── graphfun
> > │   ├── graphics
> > │   ├── guide
> > │   ├── hardware
> > │   ├── hds
> > │   ├── helptools
> > │   ├── icons
> > │   ├── images
> > │   ├── imagesci
> > │   ├── iofun
> > │   ├── lang
> > │   ├── mapreduceio
> > │   ├── matfun
> > │   ├── networklib
> > │   ├── ops
> > │   ├── optimfun
> > │   ├── plottools
> > │   ├── polyfun
> > │   ├── randfun
> > │   ├── scribe
> > │   ├── settings
> > │   ├── sparfun
> > │   ├── specfun
> > │   ├── specgraph
> > │   ├── spf
> > │   ├── strfun
> > │   ├── supportpackagemanagement
> > │   ├── system
> > │   ├── testframework
> > │   ├── timefun
> > │   ├── timeseries
> > │   ├── toolboxmanagement
> > │   ├── toolbox_packaging
> > │   ├── toolstrip
> > │   ├── uitools
> > │   ├── verctrl
> > │   ├── webcam
> > │   └── winfun
> > ├── mlhadoop
> > │   └── jar
> > ├── rtw
> > │   ├── rtw
> > │   └── targets
> > ├── shared
> > │   ├── advisor
> > │   ├── asynciolib
> > │   ├── cgir_fe
> > │   ├── cgxe
> > │   ├── cmlink
> > │   ├── coder
> > │   ├── comparisons
> > │   ├── configset
> > │   ├── controllib
> > │   ├── cxxfe_mi
> > │   ├── dastudio
> > │   ├── dsp
> > │   ├── dspblks
> > │   ├── filterdesignlib
> > │   ├── hadoopserializer
> > │   ├── hwconnectinstaller
> > │   ├── imageslib
> > │   ├── instrument
> > │   ├── ipp
> > │   ├── m3i
> > │   ├── measure
> > │   ├── mlreportgen
> > │   ├── multimedia
> > │   ├── networklib
> > │   ├── optimlib
> > │   ├── rptgen
> > │   ├── siglib
> > │   ├── simtargets
> > │   ├── simulation_data_repository
> > │   ├── simulink
> > │   ├── sl_async_streaming
> > │   ├── slcg_dmr
> > │   ├── sl_coverage_configset
> > │   ├── sldd
> > │   ├── spcuilib
> > │   ├── statslib
> > │   ├── system
> > │   └── testmeaslib
> > ├── signal
> > │   ├── eml
> > │   ├── glnxa64
> > │   ├── sigdemos
> > │   ├── signal
> > │   ├── sigtools
> > │   └── sptoolgui
> > ├── simulink
> > │   ├── simulink
> > │   ├── simulink_data_dictionary
> > │   └── sl_types
> > ├── stats
> > │   ├── classreg
> > │   ├── clustering
> > │   ├── eml
> > │   ├── glnxa64
> > │   ├── mlearnapp
> > │   ├── stats
> > │   └── statsdemos
> > └── vision
> >      ├── glnxa64
> >      ├── include
> >      ├── vision
> >      ├── visiondata
> >      ├── visiondemos
> >      ├── visionrt
> >      └── visionutilities
> >
> > 200 directories
>
> --
> IPOL - Image Processing On Line   - http://ipol.im/
>
> contact     edit at ipol.im          - http://www.ipol.im/meta/contact/
> news+feeds  twitter @IPOL_journal - http://www.ipol.im/meta/feeds/
> announces   announce at list.ipol.im - http://tools.ipol.im/mm/announce/
> discussions discuss at list.ipol.im  - http://tools.ipol.im/mm/discuss/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tools.ipol.im/mailman/archive/discuss/attachments/20170810/0231c811/attachment-0003.html>


More information about the discuss mailing list