MATLAB import tool (Import as a string array)

28 ビュー (過去 30 日間)
Bjorn Sauren
Bjorn Sauren 2017 年 10 月 5 日
回答済み: jean claude 2017 年 10 月 5 日
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

回答 (1 件)

jean claude
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') ;

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by