因为你忘记添加 sprintf。for i = 1 : size(N, 2) figure(i); title(sprintf('N = %i', i)); %# %i for integer %other stuff end