Error saving file -- issue with path?

1 view (last 30 days)
Samantha Huff
Samantha Huff on 30 Mar 2022
Commented: Geoff Hayes on 31 Mar 2022
I have been successfully saving files to a remote server, however I think I messed with the path and now I am unable to save.
For example, my path that I want to save is data/mqir/sam/supercontrols but now I am getting an error because when I use the following comand, /home/shuff/axivity gets added to the file name
save(fileToSave, 'regularizedData_full', '-v7.3') %peaks and active time
%Error using save
%Unable to write to file '/home/shuff/axivity/data/mqir-souza1/sam/supercontrols/P041_cropped/P041_cropped_active_pks.mat'
%because it appears to be corrupt.
  1 Comment
Geoff Hayes
Geoff Hayes on 31 Mar 2022
@Samantha Huff - the path may be fine...you should be able to confirm if it is valid or not. The problem might be with the size of data that you are trying to save. Is regularizedData_full large?

Sign in to comment.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!