Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: MEX 'specified procedure could not be found' in 2007b

Subject: MEX 'specified procedure could not be found' in 2007b

From: Erez

Date: 16 Oct, 2007 14:23:28

Message: 1 of 5

Hello,

I am a user of the "ndfun" function, created by Peter
Boettcher to enable matrix operations on n-dimensional arrays.

After switching to 2007b, I re-compiled it from the C code
(with the BLAS and LAPACK libraries in the command line, as
the help page suggested) with no problem.

Now, when I try to use it, I get the following error:

??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
specified procedure could not be found.

This is not an issue of version incompatibility, as I have
just compiled it on this very system (hence a different
issue from the one reported here:
www.mathworks.com/matlabcentral/newsreader/view_thread/153618 )

Any ideas?

-Tom

Subject: Re: MEX 'specified procedure could not be found' in 2007b

From: Martti

Date: 29 Nov, 2007 12:19:11

Message: 2 of 5

Hi Tom,

I suggest you try DependencyWalker, it's a free tool you can
use to find out if there's some libraries missing. It can be
downloaded from
http://dependencywalker.com/
Just open your *.mexw32 with the tool and check what's missing.

Regards,
Martti


"Erez " <tom.erez.no@spam.gmail.com> wrote in message
<ff2hh0$d6n$1@fred.mathworks.com>...
> Hello,
>
> I am a user of the "ndfun" function, created by Peter
> Boettcher to enable matrix operations on n-dimensional arrays.
>
> After switching to 2007b, I re-compiled it from the C code
> (with the BLAS and LAPACK libraries in the command line, as
> the help page suggested) with no problem.
>
> Now, when I try to use it, I get the following error:
>
> ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> specified procedure could not be found.
>
> This is not an issue of version incompatibility, as I have
> just compiled it on this very system (hence a different
> issue from the one reported here:
>
www.mathworks.com/matlabcentral/newsreader/view_thread/153618 )
>
> Any ideas?
>
> -Tom

Subject: Re: MEX 'specified procedure could not be found' in 2007b

From: Tim Davis

Date: 30 Nov, 2007 00:09:58

Message: 3 of 5

"Martti " <martti@nospam.sophilos.com> wrote in message
<fimanu$ahb$1@fred.mathworks.com>...
> Hi Tom,
>
> I suggest you try DependencyWalker, it's a free tool you can
> use to find out if there's some libraries missing. It can be
> downloaded from
> http://dependencywalker.com/
> Just open your *.mexw32 with the tool and check what's
missing.
>
> Regards,
> Martti
>
>
> "Erez " <tom.erez.no@spam.gmail.com> wrote in message
> <ff2hh0$d6n$1@fred.mathworks.com>...
> > Hello,
> >
> > I am a user of the "ndfun" function, created by Peter
> > Boettcher to enable matrix operations on n-dimensional
arrays.
> >
> > After switching to 2007b, I re-compiled it from the C code
> > (with the BLAS and LAPACK libraries in the command line, as
> > the help page suggested) with no problem.
> >
> > Now, when I try to use it, I get the following error:
> >
> > ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> > specified procedure could not be found.
> >
> > This is not an issue of version incompatibility, as I have
> > just compiled it on this very system (hence a different
> > issue from the one reported here:
> >
>
www.mathworks.com/matlabcentral/newsreader/view_thread/153618 )
> >
> > Any ideas?
> >
> > -Tom
>


A CHOLMOD user just emailed me with the same problem - not
with ndfun but with CHOLMOD. Curious ... seems that it
might not be related to NDFUN or CHOLMOD but to a compiler
issue.

Tim Davis

Subject: Re: MEX 'specified procedure could not be found' in 2007b

From: Martti

Date: 30 Nov, 2007 07:39:40

Message: 4 of 5

"Tim Davis" <davis@cise.ufl.edu> wrote in message
<finkcm$fec$1@fred.mathworks.com>...
> "Martti " <martti@nospam.sophilos.com> wrote in message
> <fimanu$ahb$1@fred.mathworks.com>...
> > Hi Tom,
> >
> > I suggest you try DependencyWalker, it's a free tool
you can
> > use to find out if there's some libraries missing. It
can be
> > downloaded from
> > http://dependencywalker.com/
> > Just open your *.mexw32 with the tool and check what's
> missing.
> >
> > Regards,
> > Martti
> >
> >
> > "Erez " <tom.erez.no@spam.gmail.com> wrote in message
> > <ff2hh0$d6n$1@fred.mathworks.com>...
> > > Hello,
> > >
> > > I am a user of the "ndfun" function, created by Peter
> > > Boettcher to enable matrix operations on n-dimensional
> arrays.
> > >
> > > After switching to 2007b, I re-compiled it from the C
code
> > > (with the BLAS and LAPACK libraries in the command
line, as
> > > the help page suggested) with no problem.
> > >
> > > Now, when I try to use it, I get the following error:
> > >
> > > ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> > > specified procedure could not be found.
> > >
> > > This is not an issue of version incompatibility, as I
have
> > > just compiled it on this very system (hence a
different
> > > issue from the one reported here:
> > >
> >
>
www.mathworks.com/matlabcentral/newsreader/view_thread/15361
8 )
> > >
> > > Any ideas?
> > >
> > > -Tom
> >
>
>
> A CHOLMOD user just emailed me with the same problem - not
> with ndfun but with CHOLMOD. Curious ... seems that it
> might not be related to NDFUN or CHOLMOD but to a compiler
> issue.
>
> Tim Davis

With 2007b lcc compiler, to me it seems to be impossible to
get both LAPACK and BLAS linked to the mex dll. In my
system, only the library mentioned first when calling mex
gets linked. That behaviour is only when using lcc.

Martti

Subject: Re: MEX 'specified procedure could not be found' in 2007b

From: Keith

Date: 20 May, 2008 15:03:03

Message: 5 of 5

"Tim Davis" <davis@cise.ufl.edu> wrote in message
<finkcm$fec$1@fred.mathworks.com>...
> "Martti " <martti@nospam.sophilos.com> wrote in message
> <fimanu$ahb$1@fred.mathworks.com>...
> > Hi Tom,
> >
> > I suggest you try DependencyWalker, it's a free tool you can
> > use to find out if there's some libraries missing. It can be
> > downloaded from
> > http://dependencywalker.com/
> > Just open your *.mexw32 with the tool and check what's
> missing.
> >
> > Regards,
> > Martti
> >
> >
> > "Erez " <tom.erez.no@spam.gmail.com> wrote in message
> > <ff2hh0$d6n$1@fred.mathworks.com>...
> > > Hello,
> > >
> > > I am a user of the "ndfun" function, created by Peter
> > > Boettcher to enable matrix operations on n-dimensional
> arrays.
> > >
> > > After switching to 2007b, I re-compiled it from the C code
> > > (with the BLAS and LAPACK libraries in the command
line, as
> > > the help page suggested) with no problem.
> > >
> > > Now, when I try to use it, I get the following error:
> > >
> > > ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> > > specified procedure could not be found.
> > >
> > > This is not an issue of version incompatibility, as I have
> > > just compiled it on this very system (hence a different
> > > issue from the one reported here:
> > >
> >
>
www.mathworks.com/matlabcentral/newsreader/view_thread/153618 )
> > >
> > > Any ideas?
> > >
> > > -Tom
> >
>
>
> A CHOLMOD user just emailed me with the same problem - not
> with ndfun but with CHOLMOD. Curious ... seems that it
> might not be related to NDFUN or CHOLMOD but to a compiler
> issue.
>
> Tim Davis

Has any solution been found for this issue? I'm running into
the same thing trying to get pseudomarker
(http://research.jax.org/faculty/churchill/software/pseudomarker/index.html)
to work on 2007b.

Thanks
-Keith

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
mexw32 Erez 16 Oct, 2007 10:25:05
specified_procedure_could_not_be_found Erez 16 Oct, 2007 10:25:05
2007b Erez 16 Oct, 2007 10:25:05
mex Erez 16 Oct, 2007 10:25:05
compilation Erez 16 Oct, 2007 10:25:05
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
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 Disclaimer prior to use.
Related Topics