Is it possible to use Matlab function dicomread in Xcode?

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

Ken Atwell
Ken Atwell on 16 Aug 2011
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
Maxim
Maxim on 22 Aug 2011
Thanks a lot for your answer!
I am trying to create a library for Xcode, but without success yet..

Sign in to comment.

Categories

Find more on DICOM Format 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!