Licensing and sharing of dlls when loading .mat in standalone C++-application to users without matlab

2 views (last 30 days)
Hi,
I'm developing a standalone c++-tool to load, process and store data from and into a .mat-file. I've studdied the example matdgns.c and adopted the code for my application. My code is managed by Visual Studio 2013 Ultimate on a win7-64 environment with MATLAB 2014a. mat.h and libmat.lib are included in the project, which compiles successfully. Unfortunately, when I run the application, I get several errors about missing dlls, i.e. libmat.dll. Each time I copy one of the dlls into my applicationbinary-folder I get a step further, just to reach the next dependency-error about an other missing dll. Even if I could copy all dependencies I'm not sure if the MATLAB-license covers the duplication of dlls to share with the tool.
As I'm planing to share my tool with others, who don't necessarily own a MATLAB-license, here are my questions:
-Is it allowed to share all required dlls from matlab/bin/win64-folder with my application-binaries and all required .h/.lib files with my binaries to users without a valid MATLAB-license?
-If yes, which license-files or hints do I have to embed into my application to comply with all judical requirements?
-It would be great if you could provide me a hint to some official recources, i.e. some lines in the license agreements, which allow or disallow me the sharing of my code including the matlab code in binary or source form.
-How do other developers solve this requirements? Are there any other ways than install MATLAB on every customers machine and add the bin-folder to the path?
Thank you for your help in advance, yours sincerely, SZ

Answers (0)

Categories

Find more on Manage Products 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!