mexw64 function dynamically linked to .dll will not run w/out c compiler
Show older comments
I am running an executable matlab program that is using a mexw64 function, which is linked to a .dll. It runs fine on my computer, and on some other machines (so i know its not a lnk error), but not on machines w/out a c/c++ compiler. Is there any way to use this mex function w/out a c compiler? or somehow combine the .dll with the mex into one mex function?
If no for both of these, does anyone have any idea how i can throw this mex in a try catch, and if it goes to catch(no c/c++ compiler installed), make it automatically download a free .net c++ compiler?
Accepted Answer
More Answers (1)
Ken Atwell
on 13 Jul 2013
0 votes
It sounds like there is a dependency missing. Use Dependency Walker on the broken computer and see what it tells you.
Let us know if this helps or not.
Categories
Find more on C Shared Library Integration 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!