Clear Filters
Clear Filters

Is it possible to use mat.h outside Matlab?

3 views (last 30 days)
Sndn_Shr
Sndn_Shr on 13 Dec 2017
Edited: Sndn_Shr on 15 Dec 2017
I used mat.h in Matlab generated executable using the mex file. I was wondering, is it possible to use this Matlab API in a separate IDE such as Visual Studio?

Answers (1)

James Tursa
James Tursa on 13 Dec 2017
You can use it e.g. in an Engine application program as opposed to a mex routine. But even in the Engine application program you will still need to link in the appropriate MATLAB libraries.
  2 Comments
Walter Roberson
Walter Roberson on 13 Dec 2017
If the purpose were to be to use the headers without the MATLAB software, such as if you were writing non-MATLAB code that had to output .mat files, then you need to read through the license terms carefully, as some uses like that are permitted but some are not.
Sndn_Shr
Sndn_Shr on 15 Dec 2017
Edited: Sndn_Shr on 15 Dec 2017
Yes. I was considering to use these libs for a C++ project.

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!