Dot indexing is not supported for variables of this type
5 次查看(过去 30 天)
显示 更早的评论
I'm trying to load a file onto matlab from Opensim, but it shows this error on this line - timevector = rawIK.data(:,1);
%% Load Data
filename = 'C:\...\MoBL-ARMS OpenSim tutorial_33\ModelFiles\InputFiles_module5_scaleIK\IKreach.mot';
delimiterIn = '\t';headerlinesIn = 7;
rawIK = importdata(filename,delimiterIn,headerlinesIn);
timevector = rawIK.data(:,1);
5 个评论
Matt J
2019-7-25
Dot indexing is not supported for variables of this type.
What type of variable is it?
回答(1 个)
amin ya
2019-7-25
If your cell has strctures inside, you should first mention the row and column of the cell then access the structure inside a cell.
rawIK{4,1}.data
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!