MATLAB import tool (Import as a string array)

37 visualizaciones (últimos 30 días)
Bjorn Sauren
Bjorn Sauren el 5 de Oct. de 2017
Respondida: jean claude el 5 de Oct. de 2017
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

Respuestas (1)

jean claude
jean claude el 5 de Oct. de 2017
hello this is simple you have to use importdata function change fichier by your fichier-title
mydata = importdata('fichier.txt') ;

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by