How to save a txt file in matlab with the specified name I want?

 Akzeptierte Antwort

fullname = fullfile('directory path', [filename '.txt']);
save(fullname, 'A', '-ascii')

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by