Is it possible to use Matlab function dicomread in Xcode?

Good day!
I see that Matlab can read, show and write DICOM images - there is a function dicomread!
So my question is - how to use this function in Xcode (if it's possible, of course)?
There are DICOM toolkits for Xcode like ITK and VTK but I can't understand how to work with them and Matlab is very simple and very convenient soft in comparison with ITK and VTK...

Answers (1)

MATLAB is not really intended to be "just" a C/C++ library for other programming environments. The closest you can get is to either:
  1. Call MATLAB from your Xcode project using the MATLAB Engine interface.
  2. Use MATLAB Compiler to build a shared library (which call DICOMREAD) and then call this library from your Xcode project.

1 Comment

Thanks a lot for your answer!
I am trying to create a library for Xcode, but without success yet..

Sign in to comment.

Categories

Asked:

on 16 Aug 2011

Community Treasure Hunt

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

Start Hunting!