Thread Subject: Problem including svd, norm or qr in a win32 dll

Subject: Problem including svd, norm or qr in a win32 dll

From: Tom Hall

Date: 2 Nov, 2008 01:59:02

Message: 1 of 1

I have recently installed R2008b with the Matlab compiler. When creating win32 .dlls using mcc -B csharedlib:<dllname> <M-file>, everything works fine except that any call within an M-file to svd, qr, or norm (possibly any matfun?) does not work correctly from the .dll. Whenever a call to svd, qr or norm is encountered in the dll file, a dialog appears entitled "mllapack.dll" with the message "The specified procedure could not be found.".

Other standard built-in functions (e.g. abs, sqrt, strcmp,find, etc.) appear to work fine, and full libraries are OK as long as they don't use matfun functions (as far as I can tell so far). However, even a two-line function with no input or output like the one below fails when compiled into a .dll and accessed by an external program.

function test1()
    input=[4 5 6; 6 7 8; 10 2 5];
    test_out=svd(input);
return;

I'm just wondering if anyone else has run across this, and if so, if there's a solution? It could be a configuration on my computer, but I can't figure it out. I can't find any specific information in the documentation.

Thanks for any help / advice.

-Tom

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
dll Tom Hall 1 Nov, 2008 22:01:29
mllapack Tom Hall 1 Nov, 2008 22:01:29
svd Tom Hall 1 Nov, 2008 22:01:29
matfun Tom Hall 1 Nov, 2008 22:01:29
qr Tom Hall 1 Nov, 2008 22:01:29
norm Tom Hall 1 Nov, 2008 22:01:29
matlab compiler Tom Hall 1 Nov, 2008 22:01:29
r2008b Tom Hall 1 Nov, 2008 22:01:29
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com