How can I use MAT-file API to create WPF applications?

2 views (last 30 days)
Hello everyone!
I am asking this question because I don't know how to use the mex-compiler to compile CL/C++ language...
I want to create a UI using WPF and MAT-API (to read .mat files), but I have a lot of troubles. I am using Visual Studio Community 2015, but I prefer to use the command line to compile it (with mex -client engine ..etc. option).
Is anybody know how to resolve this problem?.
Regards!!, and thanks for all.

Accepted Answer

Prannay Jain
Prannay Jain on 7 Apr 2017
You can go throw this detailed documentation on MAT-API to read and write MATLAB data from C/C++ programs:
If your WPF application also wants to call MATLAB functions in it, you can use MATLAB Engine API for C/C++.
If these document links do not help you, provide the exact issue or any errors you are facing.

More Answers (0)


Find more on Write C Functions Callable from MATLAB (MEX Files) 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!

Translated by