[IPOL discuss] MATLAB demos

Jacques Froment Jacques.Froment at univ-ubs.fr
Mon Jun 1 15:53:19 CEST 2015


Dear all,

I am very reserved about the possibilities of publishing a code
that needs a commercial software. Would it be possible to request
the source code to be also compatible with the free GNU Octave
software ? (as Octave treats incompatibility with Matlab as a bug,
the main impact would be a limitation of usable functions from Matlab
toolboxes).

Sincerely,
Jacques.

Jacques Froment   (Jacques.Froment at univ-ubs.fr)

Université de Bretagne Sud - LMBA UMR 6205
Centre Y. Coppens, campus de Tohannic
BP 573, F-56017 VANNES, FRANCE
Tél. 0297017138 (+33 297017138)
Fax 0297017175 (+33 297017175)

On 01/06/2015 15:10, Miguel Colom wrote:
> Dear all,
> IPOL is accepting MATLAB demos now.
>
> We're working on writing clear guidelines for the MATLAB source codes (accepted toolboxes, style, etc) but meanwhile
> it's already possible to submit MATLAB codes and demos for publication.
>
> This message is only to explain what to do to have a demo executing MATLAB.
>
> The MATLAB code must be compiled. This step is exactly the same as what we do for any other compiled language and to do
> it it suffices to write a Makefile which calls mcc (the MATLAB compiler).
>
> For example:
> PROG=gauss
> all:
>      mcc -m ${PROG}.m -a lib -R -nodisplay
>
> The generated binary must be moved to the "bin" directory, as usual.
>
> The compiler generates not only the binary, but also a BASH script which calls the binary within the proper environment.
> You don't need to care about what the script does. Think of it as a black box where you put your parameters and it
> executes your program.
>
> The script needs the following parameters, in this order:
> 1) The MATLAB path
> 2) The parameters of your algorithm.
>
> The MATLAB path can be obtained from the demo system configuration, by calling self.get_MATLAB_path().
>
> For example:
> p = self.run_proc(['run_gauss.sh', self.get_MATLAB_path(), 'input_0.png',
>                     'output_1.png', str(sigma)])
>
> You need also to configure the path of MATLAB with two new entries in demo.conf.
> In the production server the configuration is:
>
> # demo paths
> demo.extra_path = '/usr/bin:/bin:/wheezy/usr/local/MATLAB'
> demo.matlab_path = '/wheezy/usr/local/MATLAB'
>
> You need to put there the right paths corresponding to your MATLAB installation.
>
> And you need also to have an updated version of the demo system.
> You can download a copy with: git clone https://github.com/mcolom/ipolDevel.git
> In principle you only need to change the contents of the "lib" directory.
>
> All the best,
> Miguel
>
>
> --
> 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/


More information about the discuss mailing list