01-11-2012 05:10 PM
I'm using matlab with cvi to plot some data, and it's fine. However, when I build the distribution and install it on a different machine, MLApp_NewDIMLApp returns error, and it doesn't start. The machine that I'm trying to install has a newer version of matlab, than the development system.
Any help is appreciated.
Thanks
01-12-2012 10:54 AM
VTA,
I would suggest following the steps in the Knowledge Base article below to see if this can resolve the issue.
AE KB 3NDGH1K7: LabWindows/CVI's Shipping Example for Interfacing with The MathWorks, Inc. MATLAB® ActiveX Automation Server Returns Errors
http://digital.ni.com/public.nsf/allkb/0FB80F59D0AF9A4F8625703E007BF78B?OpenDocument
01-12-2012 11:05 AM
Thanks for the reply.
I can run the matlab on my development system, it's only when I build the distribution to install in a different machine that is not working. The machine that I'm trying to install has the latest run-rime engine. I can run the activedemo on my development system as well, but when I build the distribution and install it on a different machine it gives me "Class not registered" error.
Is there something in the distribution build setting that I need to set.
Thanks
01-13-2012 11:20 AM
VTA,
There are still some steps in the article which I linked above which might solve this. Try running through those quick steps and let me know if that changes anything.
01-13-2012 01:14 PM
I followed the steps, and tried it again with not much change. I'm still getting "Class not Registered", when I install my distribution version on a target system.
Any info to resolve this would be greatly appreciated.
Thanks
01-13-2012 01:24 PM
I should mention that I'm trying the latest shipping example mathlabdemo with CVI 10.0.1.
01-16-2012 09:38 AM
VTA,
Can you please post a screenshot of the error you are seeing? This might help us figure out what is going on.
01-17-2012 10:05 AM
I resolved the issue by upgrading matlab on my development machine to the same version as the target system, and rebuilding the matlab instrument driver.
I was getting"Class not Registered" error on the target system.