How can I save a variable to external harddisk
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to save two variables using the save function. However, this function saves the variables in the same folder as the function/code location. Is there a way to save the variables directly to an external harddisk that is connected to the computer?
Thanks!
0 个评论
采纳的回答
Fangjun Jiang
2019-10-28
save(FileName, Variables). Specify the full path of your file, e.g. 'd:\mydoc\file.mat'
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!