2016-03-08 54 views

回答

3

find_system開始獲取所有塊。 得到BlockType爲每個和最後申請unique每個類型只得到一次的結果。

%get the path to all blocks 
all_blocks=find_system('untitled','lookundermasks','all','type','block') 
%get the block type 
unique(get_param(all_blocks,'BlockType')) 

對於lookundermasks選項,請確保選擇您想要的選項。

相關問題