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.
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
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.
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.
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.
Can you please post a screenshot of the error you are seeing? This might help us figure out what is going on.
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.