DLL issues with matdgns.c example

3 views (last 30 days)
Michel on 2 Jul 2014
Answered: Kaustubha Govind on 10 Jul 2014
I trying to learn how .mat files manipulating functions works, so I compiled matdgns.c but when I execute the file, it requires a lot of DLL's, not just libmat.dll and libmx.dll. I used Visual Studio 2008 to compile the file. Is there some option that i need to change in VS to fix this ?

Answers (1)

Kaustubha Govind
Kaustubha Govind on 10 Jul 2014
Are you attempting to run the application on a different machine from the one you compiled on? Visual Studio has runtime libraries called "redistributables" that are required by application compiled on it. You may want to install the redistributable package corresponding to the Visual Studio version on the target machine.

Community Treasure Hunt

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

Start Hunting!