how to replace a dataset with another one in matlab
1 回表示 (過去 30 日間)
古いコメントを表示
hello everyone
please, I had imported my dataset to run my code, but since then I want to replace this dataset. indeed, when I imported the new dataset, I thought that the old one should be overwritten automatically. when I run the code it is always the old one that appears what to do? thank you for your help
attached my code (untitle5) and my new dataset (mydata)
0 件のコメント
回答 (2 件)
Image Analyst
2023 年 1 月 7 日
Try deleting the file before you write it out again.
recycle('on');
delete(fileName); % Send fileName to recycle bin
3 件のコメント
Image Analyst
2023 年 1 月 7 日
I think you attached the wrong files. This one doesn't read in any workbook or attempt to write out any workbook.
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!