15-5 ������������������p-code

@몺 M ɮ׳OrɡA]Ҧ MATLAB l{XݱoAYzQnOHϥαz{XAoSQOHݨ{XeANiHϥ pcode ONZΨ禡ন p-code]YPseudo-Code^A榡pUG

pcode filename.m

ҦpAڭ̥iN禡 func5.m ন p-codeG

>> pcode func5.m >> dir *.p func5.p

˵ func5 ӷAMATLAB |H p-code {XuG

>> which func5 D:\matlabBook\MATLAB{]pGJg\15-Mɮ\func5.p

Is p-code 禡M@禡õLˡG

>> func5([2 4 8]) ans = 0.8750

FO@z]v~Apcode Ot@ӥ\OiH{IJvC@禡QIsɡAMATLAB |JíR]Parse^禡AñNRGsmbO餺A]UAIs禡ɡANiH٤URҪ᪺ɶCpcode @ΧYON{XHR᪺GxsA]pGz{XoAܦh M ɮ׮ɡ]ҦpjϧΨϥΪ̤ε{^AYiϥ pcode OӱN{Xন p-codeAH`٭RɶC]ѩ MATLAB b禡JέRɶ۷֡A]pGz{XoAܦh M ɮסAji pcode OC^


MATLAB{]pGJg