03-28-2006 01:13 PM
03-30-2006 07:22 AM
Hi,
In matlab it is possible to create a dll with debug information. I didn't use it before because I didn't know what to do with it, but maybe you will get a more specific error.
Thank you very much for trying!
03-31-2006 04:53 PM
04-03-2006 07:51 AM
05-24-2006 02:52 PM
Hi,
I succeeded in using a matlab 7.0 dll in labview 7.1. After it worked, there was a second problem - it would onlly run once. there is another thread in this forum that offers some solutions, but they didn't work for me, so I used another solution - I split the function into three functions: an initialize function, the calulation function and the terminate function, and I call the terminate only after I have finished all the calculations.
All the files are attached, along with a word document called 'dll README' that explains step by step how the files were created. The matlab dll is called libmatrix.dll. The C++ dll is called dllexample.dll. The labview vi is called dllexample.vi. If you have any questions , I will do my best to answer. Suggestions are also welcome.
good luck and thanks to everyone for all the help
Danielle
Note: For the files to run you need to have the MCR installed on your computer.
08-31-2006 05:11 PM
09-01-2006 02:01 AM
Hi,
There is a labview vi in the debug folder called dllexample.vi.
If you need an additional vi, let me know.
Good luck!
09-01-2006 09:45 AM
10-10-2006 03:50 PM
Danielle,
I'd like to test-drive your solution, but I don't have the matlab run-time (I guess it's called MCRInstaller.exe)? Doesn't seem like Mathworks.com offers it for download. Would you mind posting yours here or emailing it to me (yzadorozhny@optellios.com)? I believe it is license-free.
Thanks a bunch!
Zador
10-11-2006 11:36 AM