matlab c++ shared libaries without run time

2 views (last 30 days)
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

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!