how to replace a dataset with another one in matlab

조회 수: 2 (최근 30일)
merlin toche
merlin toche 2023년 1월 7일
답변: merlin toche 2023년 1월 12일
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)

답변 (2개)

Image Analyst
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
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.
merlin toche
merlin toche 2023년 1월 9일
Hello sir!
there I am overwhelmed. I don't know what to do anymore, since it's my good file! I'll try to think about it again
thank you for your involvement in helping me sir!

댓글을 달려면 로그인하십시오.


merlin toche
merlin toche 2023년 1월 12일
please how to do appear fault detect and threshold in knn graph.
i want to know it please

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by