Is this even possible?
7 ビュー (過去 30 日間)
I am attempting to read in a .exp file to Matlab. I'm pretty mediocre with Matlab, but I will try to explain what I have tried to the best of my abilities.
filename,pathname] = uigetfile('*.exp', ...
'Select a data file', ...
fid = fopen(filename,'r+');
I've managed to be able to get a value for fid other than -1 with this, but the file is always empty when i open it in matlab. It isn't empty outside of matlab however. I'm not sure if it is having problems because the .exp file contains both numerical and non numerical characters, but it's been very frustrating. Any help is appreciated
回答 (1 件)
Kye Taylor 2013 年 6 月 20 日
Have you tried right-clicking on the file from the current folder browser? In the context-menu that pops up you should see something like "Import Data," but I'm not sure MATLAB will recognize it as a text file.