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

 Réponse acceptée

Walter Roberson
Walter Roberson le 10 Nov 2011

0 votes

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 commentaires

mihaitza
mihaitza le 10 Nov 2011
Thx for the answer, i'll look into that.
Kaustubha Govind
Kaustubha Govind le 10 Nov 2011
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by