Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Matlab help dmdistribution
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Rafa

Posts: 1
From: Spain
Registered: 2/23/13
Matlab help dmdistribution
Posted: Feb 23, 2013 4:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I'm trying to create a dll library using deploytool for Visual Basic, I'm using for my test the following example code for the matlab file that i want to export as dll.

mu1 = [1 2];
Sigma1 = [2 0; 0 .5];
mu2 = [-3 -5];
Sigma2 = [1 0; 0 1];
X =[mvnrnd(mu1,Sigma1,1000);mvnrnd(mu2,Sigma2,1000)];
gmfit = gmdistribution.fit(X,2);


The problem is when i use the dll in my visual basic i can not run it because i get the following error when the program try to run the gmdistribution.fit function: "One o more output arguments not assigned during call to "_class_dot_paren".Error in -->test at 7

May somebody help me??
Thanks a lot.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.