Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clc;
- clear 'all';
- close;
- fclose ('all');
- fp=fopen('D:\Torrents\3DMGAME-GamersGoMakers.v1.16.Multi.7._ed-3DM\GamersGoMakers\data\1\platforms.txt');
- i=0;
- j=0;
- while feof(fp) == 0
- i=i+1;
- j=0;
- gg=1;
- gg1=1;
- line=fgetl(fp);
- lline=length(line);
- while gg <=lline
- if line(gg)==';'
- liw=line(gg1:gg-1)
- j=j+1;
- plat{i,j}=liw
- gg1=gg+1;
- end
- gg=gg+1;
- end
- end
- xlswrite ('extractplatforms.xls', plat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement