05-05-2012 04:09 PM
When I use labview DLL on matlab platform it loads labview runtime engine.
Once I use "close all" command of matlab, labview runtime engine is not available any more so I want to reload it.
How can I do this?
If I run the DLL again an error is occurred.
Best regards,
Nir
05-08-2012 09:13 AM
Hello Nir,
I recommend contacting MathWorks for assistance with the exact functionality and results of close all. Based on online documentation for calling DLLs in MATLAB, you should use unloadlibrary to remove the LabVIEW DLL from memory instead of close all. If you use this method, are you able to load the LabVIEW DLL (using the loadlibrary function) and call it successfully from MATLAB?
MATLAB® is a registered trademark of The MathWorks, Inc.
Regards,
Andrew Brown