matlab c++ shared libaries without run time

Hi,
I would like to deploy the watershed function to be used in a C++ application. Of course I would like to have it as less dependent as possible on other components. As I have read, the solution is to use the compiler, however requiring an interpreter run time to run on the target machine.
Is there any solution to package it Without the use of any environment, just any number of C++ libraries. I tried to figure it out by myself from webinars but I would not like to invest more time if this is not possible.
I would appreciate your thoughts. Best, ion

 Risposta accettata

Walter Roberson
Walter Roberson il 10 Nov 2011
There is the MATLAB Coder, which can generate ANSI C code, provided the MATLAB source is written under a number of constraints.
I would tend to doubt that the Mathworks-provided Watershed algorithm has been written for compatibility with MATLAB Coder, but I do not have experience with that.

2 Commenti

Thx for the answer, i'll look into that.
FYI: Here is the full list of functions supported with MATLAB Coder: http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z7-11.html
watershed() doesn't appear to be one of them.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Coder in Centro assistenza e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by