Re: [問題] 請問一個問題--關於clear

看板MATLAB作者 (神無月 孝臣)時間18年前 (2006/01/15 13:10), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
※ 引述《Esp (默默地做靛靛的看)》之銘言: : clear %all 全部清除變數 : clear variable %清除某個變數 : 有沒有 可以 只留下 某些變數 清除剩下的 clear有支援萬用字元 所以你可以把你不打算留下來的變數都設成一樣的開頭 像是temp_x temp_y temp_15 temp_a8 temp_6oe_ce 然後打上 clear temp_*就可以把那些開頭的變數都清掉了 -- Deserves death! I daresay he does. Many that live deserve death. And some die that deserve life. Can you give that to them? Then be not too eager to deal out death in the name of justice, fearing for your own safty. Even the wise cannot see all ends. Gandalf to Frodo -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.131.230.246

01/15 14:17, , 1F
感謝~
01/15 14:17, 1F
文章代碼(AID): #13oTb16b (MATLAB)