Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Rafa
Posts:
1
From:
Spain
Registered:
2/23/13
|
|
Matlab help dmdistribution
Posted:
Feb 23, 2013 4:22 AM
|
|
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.
|
|
|
|