matlab c++ shared libaries without run time
2 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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
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.
More Answers (0)
See Also
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!