[問題] function output 小問題已回收

看板MATLAB作者 (yuho)時間16年前 (2009/05/03 11:46), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
function[out_1,out_2]=test(int_1) out_1=int_1*2; out_2=int_1*3; 當我在 command 視窗 >> test(1) 她只出現out_1的結果 為什麼 想請教各位 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 58.114.201.39

05/03 13:30, , 1F
你要打 [out1,out2]=test(1)
05/03 13:30, 1F
文章代碼(AID): #19_HD_lz (MATLAB)
文章代碼(AID): #19_HD_lz (MATLAB)