0
我想檢查我有使用strcat的功能
workingDir = C:\Users\~\Temp\workspace_folder;
for i=1:2
% do an action which generates folder C:\Users\~\Temp\workspace_folder_1 first iteration
% and increment for each iteration
x = strcat(workingDir,'_',i);
end
它僅給出
X = C:\用戶\〜\ TEMP \ workspace_folder_,爲什麼它不打印我迭代值? 我預計將有
C:\Users\~\Temp\workspace_folder_1
C:\Users\~\Temp\workspace_folder_2
感謝
感謝韃靼串! – lola 2012-03-28 06:42:07