MATLAB import tool (Import as a string array)
28 次查看(过去 30 天)
显示 更早的评论
Using the MATLAB import tool, it is possible to import a .txt file as a string array in MATLAB. How is it possible to achieve this using commands only? I would like to build an import tool using a GUI, with a button callback to import data as a string.
Thanks in advance!
Bjorn
0 个评论
回答(1 个)
jean claude
2017-10-5
hello this is simple you have to use importdata function change fichier by your fichier-title
mydata = importdata('fichier.txt') ;
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!