Community Profile

photo

RIHANA ALI


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


Index exceeds the number of array elements. Index must not exceed 0.I am getting a lot errors on my code can you please help which one should fix especially line 15.Thank you
% Read the data from the file fid = fopen('gc-data-21.txt', 'r'); data = textscan(fid, '%f %s %f'); fclose(fid); % 1.Ide...

1 year ago | 1 answer | 0

1

answer

Question


"Error using textscan Invalid file identifier. Use fopen to generate a valid file identifier." - why am i getting this error?
% Read the data from the file fid = fopen('gc-data-2.txt', 'r'); data = textscan(fid, '%f %s %f'); fclose(fid); % 1.Iden...

1 year ago | 1 answer | 0

1

answer