17-4 ������������������������������

`NH MATLAB 8.5 ӤЦpHϧΤӶi{CMATLAB 䥦ª{\Aߤ@POϧΤ~[Aoǥ\ۦP~[PϧΤANΤ@󥻸`̫ᤶСC

b PC Mac xWAMATLAB {s边ƹWNOAi氣AiѫOCUF edit OAҦp recipsum1.m i氣AiJpUG

>> edit recipsum1

WzOi} MATLAB ]]Os边^ApUG

bWA]tF@tCϥܡASOObuBreakpointsvϥܤUA]tF@ǹ_IAIϦpUG

iCpUG

r\
Clear AllMbҦɮתҦ_I
Set/ClearbثeCi椤_I]wβM
Enable/DisableҰʩΨثeC_I
Set Condition]wέק襤_IҰʱ
Stop on Errors_~oͤB
Stop on Warnings_ĵioͤB

|ҨӻA]ߤ_I reciproc ƪĤ@CAiQηƹNиmӦCIuBreakpointsvUuSet/Clearv ϥܡAYi]w_IAɸӦCe|ܤ@IAN_IAUϡG

Hint
]iHUuF12vӳ]wΨثeC_IC

ɭY榹ơAYiӤ_IG

>> recipsum1([1 2 3])

MATLAB |Hbܲ{bҦbmG

ɱziHbOC˵UܼƩιB⦡ȡAӤkiHFG

  1. b MATLAB OCJܼƩιB⦡C
  2. ܼƩιB⦡AQηƹkIAÿܡuEvaluate Selectionv]ΫUuF9v^C

pGAQ˵Pu@ŶܼơAiHuCWuFunction Call Stackv UԦAHܤPu@ŶAMb̷ӤWzk˵ܼƩιB⦡ȡC

{b_IɡAڭ̥iHUuStepvϥܡ]ΦbOCJ dbstep^ӶivBAɺbܦVUANYN}CG

AuStepvϥܡ]ΩOCJ dbstep^ƦAYiӨƪvBCpGb~nhXҦA]iHIuQuit Debuggingvϥܡ]ΦbROCJudbquitv^C

Hint
{b_IɡAWϧY|ܾAXϥܥHѿAҦp ContinueBStepBStep InBStep OutBRun to CursorBFunction Call StackBQuit Debugging C

t@Ӱɱ`~pANOboͿ~@AMATLAB |ߨ^򥻤u@ŶAɭPڭ̵Lkˬdb~oͮɪUܼƩιB⦡ȡCpPW@`ҭzAnIoӱpA²Aunb{eAbROCJudbstop if errorvAA{CɭY~o͡AMATLAB Y|}ҽs边ðb~oͪmAPɩROCܤr]令uK>>vANثeOb~oͪu@ŶAҥHAiHv@ˬdҦܼƩιB⦡AHX~oͪ]öiקC

Yϥ GUI ӧWzu@AAunbIuBreakpointsvUuStop on ErrorsvAMbROC{XAYi{b~oͪ@AHKi氣C


MATLAB{]pGJg