- #1
Old Guy
- 103
- 1
I have calculated a variable called FNET. I have saved FNET to the hard drive using the following command:
save(fullfile(BasePath,'FNET'),'FNET','-mat')
BasePath is a string that gets the file to the correct directory on my hard drive.
First Question: FNET shows up in the correct place, but in Windows Explorer the file type is shown as "File" rather than (what I would expect) MATLAB M-file. Why?
Second Question: I've written a program that needs to load this variable. None of the following commands have worked:
load FNET
load fullfile(BasePath,'FNET.mat')
and various other attempts.
Please help!
save(fullfile(BasePath,'FNET'),'FNET','-mat')
BasePath is a string that gets the file to the correct directory on my hard drive.
First Question: FNET shows up in the correct place, but in Windows Explorer the file type is shown as "File" rather than (what I would expect) MATLAB M-file. Why?
Second Question: I've written a program that needs to load this variable. None of the following commands have worked:
load FNET
load fullfile(BasePath,'FNET.mat')
and various other attempts.
Please help!