MATLAB Online で開く You are opening the file in write mode inside a for loop. So everytime the file gets overwritten. Open the file (fileID = fopen('rndm.txt','w+');) before the for loop. テーマコピー fileID = fopen('rndm.txt','w+'); for i = 1 : n a=rand(1); ci...
When you say they generally have strings, is that a cell array of strings, or is that a single string that for some reason has been wrapped inside of a cell instead of existing just as a char vector ? サインインしてコメントする。