Looking for the Source code of built in function ldl.m

조회 수: 2 (최근 30일)
Benson Gou
Benson Gou 2020년 9월 9일
편집: Walter Roberson 2020년 9월 11일
Dear All,
I am trying to use Matlab Coder to convert my Matlab code into C code. But there are a number of built in functions that Matlab Coder does not support. ldl.m is one of those functions. It seems that I have to rewrite ldl.m on my own so that I can use Matlab Coder. But it will be a huge work for me to write it on my own,
I am wondering if I can have the source code of ldl.m. If I can, then I could insert ldl.m as a sub-function in my code. I think I can use Matlab Coder to generate the C code. Does anybody know how to assecc to the source code of ldl.m?
Thanks in advance.
Benson

채택된 답변

Walter Roberson
Walter Roberson 2020년 9월 9일
편집: Walter Roberson 2020년 9월 11일
ldl uses the MA57 routines in the Harwell Subroutine Library (HSL) for real sparse matrices.
The Fortran source for MA57 is available from http://www.hsl.rl.ac.uk/ipopt/ under certain license conditions.

추가 답변 (1개)

Steven Lord
Steven Lord 2020년 9월 9일
The ldl function is built into MATLAB. It is not implemented as a MATLAB script, function, or class file. We don't distribute its source code.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by