Why this code does not save .txt file as .text file inside the matlab?

I am using appdesinger to design app that improt .txt files and save it but the code save it inside matlab in form of matlab.mat as showen in the figure but I want it to be save as .txt file.
[filename,pathname] = uigetfile({'*.txt'},'File Selector');
app.WordFileEditField.Value = strcat(pathname,filename);
save();

4 件のコメント

Rik
Rik 2019 年 5 月 26 日
It sounds like you need to read the documentation for save. Also, if you want it in a .mat, why would you confuse everyone by have the extention be .txt?
Abdullah Alsuhaymi
Abdullah Alsuhaymi 2019 年 5 月 26 日
Hi ,
thank you for your comment.
No I want it to be save in .txt form because this is the real form for the import it file.And how I do read to the documentation for save?could you write the code for me please?
Rik
Rik 2019 年 5 月 26 日
You can open the documentation of a function like this:
doc save
Or just find a link.
Abdullah Alsuhaymi
Abdullah Alsuhaymi 2019 年 5 月 26 日
thank you so much Rik.

サインインしてコメントする。

回答 (0 件)

タグ

質問済み:

2019 年 5 月 26 日

コメント済み:

2019 年 5 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by