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

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 Comments
Rik
on 26 May 2019
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
on 26 May 2019
Rik
on 26 May 2019
Abdullah Alsuhaymi
on 26 May 2019
Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!