How can I create an executable file from function that need to "addpath" some folders and call one hundred functions and dll files?
Mostrar comentarios más antiguos
Hi all. I'm using a code that that need to setpath some foders and run properly in matlab, I create an executable file by mcc- m write_dfsu_2D.m, but when I open .exe file, it doesn't work. for more, there is an "if cluase" that isn't true when I run function, but is true when I run executable file and make an error:
if (exist(MatlabDMdll,'file') == 2)
elseif (exist(MatlabDMdllDev,'file') == 2)
debug = true;
MatlabDMdll = MatlabDMdllDev;
else
error(id('LibNotFoundDLL'),'Can not find dfsManager library dll (MatlabDM.dll)')
end
when the black window of executable file is opened, I face this probles:
??? Error using ==> dfsManager.dfsManager at 147
Error in ==> write_dfsu_2D at 8
dfsManager:dfsManager:LibNotFoundDLL
I'm beginner and I have to use some examples of http://www.mikebydhi.com/Download/DocumentsAndTools/Tools/MATLABDFS2008.aspx but I don't know how can I create an executable file from this function. Could someone help me out please? Thanks in advance.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre C Shared Library Integration en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!