is it possible to specify variable name in character using dlmread

1 次查看(过去 30 天)
Hi there. in my data file first row and ist column contains the character values, in this case how can i specify ist row and ist column values (names) using dlmread? if you suggest to use readtable command than in that can how can i specify same case?

回答(1 个)

KSSV
KSSV 2018-8-13
T = readtable('an.txt') ;
T.(1)(1) % first row and first column
  4 个评论
Saba Yousaf
Saba Yousaf 2018-8-13
yes its works but i want to read data one at at time same as in my file"an.txt"

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by