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!