![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8792956_1522129512038_DEF.jpg)
Haqqah Khursheed
Followers: 0 Following: 0
Feeds
提问
I want to read this text file from Matlab directly and want to import data of all columns into work space in an array.
fid = fopen('1.txt'); a = textscan(fid,'%s%s%s%s%s%s%s','Delimiter','','Headerlines',4); lines=a{1:7}; fclose(fid)
8 years 前 | 3 个回答 | 0