how to delete mat file
古いコメントを表示
i have saved a variable by using
save('fp_database.mat','data');
i want to delete this file so i tried
delete('fp_database.mat')
now even i load it by load('fpnn_database.mat');its values are displayed and not deleted
please tell how to delete it
4 件のコメント
TAB
2013 年 1 月 2 日
You are deleting fp_database.mat and loading fpnn_database.mat. They are 2 different files. Offcourse data will be loaded from fpnn_database.mat if it exist.
Pat
2013 年 1 月 2 日
José-Luis
2013 年 1 月 2 日
Do you have read/write access to the folder where the file is located?
Pat
2013 年 1 月 2 日
採用された回答
その他の回答 (2 件)
Azzi Abdelmalek
2013 年 1 月 2 日
編集済み: Azzi Abdelmalek
2013 年 1 月 2 日
Try this
a=1:10;
save('fp_database','a')
delete('fp_database.mat')
clear
load('fp_database')
a
Malcolm Lidierth
2013 年 1 月 2 日
Looks like you have several copies in different folders on the MATLAB path. Delete only deletes the first. Try
which ('fp_database.mat')
after delete to find the 2nd.
カテゴリ
ヘルプ センター および File Exchange で Software Development Tools についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!