MATLAB Answers

Matlab and C++ (Qt)

37 views (last 30 days)
Very new to matlab compiler and shared library.
I have interest in using one of these to create a standalone desktop application. I'm mostly interested in using Matlab for scientific plotting (including all of its useful UI, such as labels and zooming). I'm also interested in using its numerical computation, but that's secondary for now.
Any comments, suggestions? I currently have a Qt(C++) application and prefer to use Matlab to handle the plotting. Thanks in advance.


Sign in to comment.

Accepted Answer

Matthias Pospiech
Matthias Pospiech on 14 Feb 2012
I do not see how matlab plots should be included inside a c++(qt) app. For Qt you could use qwt, or you build your entire app in matlab.

  1 Comment

Paul An
Paul An on 14 Feb 2012
Are you saying it's not technically possible to launch matlab plot figures or pipe it into a new window? I thought I've seen java applications that use matlab plots. Maybe I am not understanding all the approaches one can take with matlab for desktop applications.

Sign in to comment.

More Answers (1)

Jun-Hyeong kim
Jun-Hyeong kim on 16 Mar 2012
Matlab is able to make *.lib file. So, if you use this *.lib file, Your C++ applicaton can use matlab function or chart or etc..
For making *.lib, you must have sub-toolbox that is Compiler.


Sign in to comment.

Community Treasure Hunt

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

Start Hunting!