Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Use of DPOSV function from Fortran
Date: Thu, 11 Sep 2008 18:39:02 +0000 (UTC)
Organization: Boeing
Lines: 35
Message-ID: <gabok6$2d2$1@fred.mathworks.com>
References: <gabg0h$l3a$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1221158342 2466 172.30.248.35 (11 Sep 2008 18:39:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 11 Sep 2008 18:39:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 756104
Xref: news.mathworks.com comp.soft-sys.matlab:489852



"Sneha " <smithpamola@yahoo.com> wrote in message <gabg0h$l3a$1@fred.mathworks.com>...
> Hello,
> 
> I have a function - 'dposv'  in fortran to be converted into Matlab. As I have read, we can use LAPACK functions but its giving an error- Undefined command/function 'dposv'.
> 
> Can anyone help me out?
> 
> It will be great help.
> 
> Thanks...

Not sure what you are doing. Are you:

1) Taking Fortran code and converting it into MATLAB code (i.e., converting a ___.for file into a brand new m-file line by line

or

2) Trying to create a mex routine from the Fortran file ... i.e. call the Fortran routine from MATLAB.

or

3) Just trying to call an LAPACK or BLAS routine directly from MATLAB.

It almost sounds like you have converted Fortran code to an m-file and now want to resolve the dposv call from within the m-file. Is this correct?

If you want to call an LAPACK or BLAS routine from within an m-file, there are solutions for you on the FEX. Simply go here

http://www.mathworks.com/matlabcentral/fileexchange/loadFileList.do

and search for LAPACK or BLAS and you will see some solutions that may work for you. I haven't tried them all, but I have tried this one by Tim Toolan and it seems to work OK:

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=16777&objectType=file

James Tursa