La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how extract string colum in text file has different formats

3 visualizaciones (últimos 30 días)
huda nawaf
huda nawaf el 29 de Dic. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
*hi I have file has different formats columns,what I need is extracting string column. Textscan function need fixed number of elements in each row to work. in my case, there is column about country where this feature sometimes has two words such as United states and in other times has one word such as Canada. other problem,I can not assign specific format for one column because in one row has digit value and in other row has string because has no value so null is assigned as following example: Argentina S.A. -34.7765 st United states st null
thanks in advance*

Respuestas (0)


Community Treasure Hunt

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

Start Hunting!

Translated by