Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Linpack in mex

Subject: Linpack in mex

From: Nick

Date: 12 Nov, 2013 09:39:14

Message: 1 of 2

Hi,
Is there a way to access LINPACK (not LAPACK) in a mexfunction? I can access LAPACK by including "lapack.h" and then compiling (on my machine) with this:
lapacklib = fullfile(matlabroot, 'extern', 'lib', 'win64', 'microsoft', 'libmwlapack.lib');
mex('lapackTest.cpp',lapacklib);

But I can not figure out how to access linpack (and there do not appear to be any linpack libs in the folder that contains the lapack lib).

I need linpack to access dchex to do a rank 1 cholesky update.

Subject: Linpack in mex

From: Steven Lord

Date: 12 Nov, 2013 14:56:17

Message: 2 of 2


"Nick " <dsfadfa@aol.com> wrote in message
news:l5st01$ra9$1@newscl01ah.mathworks.com...
> Hi,
> Is there a way to access LINPACK (not LAPACK) in a mexfunction? I can
> access LAPACK by including "lapack.h" and then compiling (on my machine)
> with this:
> lapacklib = fullfile(matlabroot, 'extern', 'lib', 'win64', 'microsoft',
> 'libmwlapack.lib');
> mex('lapackTest.cpp',lapacklib);
>
> But I can not figure out how to access linpack (and there do not appear to
> be any linpack libs in the folder that contains the lapack lib).

I don't think we include a LINPACK library against which you can link a
MEX-file.

> I need linpack to access dchex to do a rank 1 cholesky update.

Why not do it in MATLAB itself?

http://www.mathworks.com/help/matlab/ref/cholupdate.html

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

No tags are associated with this thread.

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.

Contact us