Do I have to upgrade to Matlab 2020?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi! :)
In one of my apps I am using writetable function and my problem seems to be that each time I run the app, the data in the table ( heterogenous table) that is written, is not overwritten.
Can somebody help me with my problem?
3 件のコメント
Dyuman Joshi
2024 年 1 月 7 日
Even then, without seeing the code it is not possible to suggest how to solve the issue/problem.
回答 (1 件)
Image Analyst
2024 年 1 月 7 日
I'd say sure, but upgrade to R2023b, the latest, instead of R2020a. Can't hurt. Otherwise call delete(filename) before calling writetable to make sure the file has only the new data in it.
2 件のコメント
Image Analyst
2024 年 1 月 14 日
Well you asked about upgrading...but no, it should not be necessary. You did delete the file like I suggested before writing it again, right? If so, then if in the new file the character data is not written out with writetable then that means that the character data was not present in the table. Check all the columns of the table just before you call writetable.
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!