MATLAB Answers

Port MATLAB .m code to Objective C++

29 views (last 30 days)
Sven Mixer
Sven Mixer on 10 Apr 2014
Commented: Sven Mixer on 24 Apr 2014
I represent a mobile development technical side of small, but rapidly developing company in IT industry in Estonia. Mainly we focus on Mobile development, as well as on Web applications. Right now we are interested in porting .m MATLAB code that uses MATLAB core and MATLAB image processing toolkit to iOS mobile platform.
I understand MATLAB code can be ported to Objective C++ code from source in MATLAB .m by using of MATLAB Coder? Is it true? How can we evaluate MATLAB Coder product in that aspect? Will it solve problem of porting to iOS (Objective C/C++)?

  0 Comments

Sign in to comment.

Accepted Answer

Ryan Livingston
Ryan Livingston on 14 Apr 2014
Edited: Ryan Livingston on 15 Apr 2014
MATLAB Coder generates C or C++ code from a supported subset of the MATLAB language:
Using that generated code would just require linking it in with your project as any other native C or C++ code.
The product page has a Product Trial link which should allow you to evaluate it:
There is also a webinar discussing using the MATLAB Coder generated code on iOS:

  1 Comment

Sven Mixer
Sven Mixer on 23 Apr 2014
I have requested a Trial, but nobody from Sales has yet contacted me. Is it normal? How long it usually takes? I am waiting 2 weeks already...

Sign in to comment.

More Answers (1)

Bill Chou
Bill Chou on 24 Apr 2014
Hi Sven,
Sorry about you not having heard from our sales team in over 2 weeks! I've contacted the account representative about your issue and you should hear back soon. If not, please contact me directly at matlab-coder-expert@mathworks.com.
Hope you had a chance to take a look at the webinar that Ryan mentioned above. This workflow has been used by several customers, including iSonea, who developed apps for wheeze detection and asthma management:
Let us know if you have any further question.

  1 Comment

Sven Mixer
Sven Mixer on 24 Apr 2014
Yes, thank you very much for attention. I was contacted today and had a pleasant conversation with Suvi Jaaskelainen. Now case is resolved.

Sign in to comment.