Unable to perform assignment because dot indexing is not supported for variables of this type
2 次查看(过去 30 天)
显示 更早的评论
I can't solve my error.what should I do for running my code?
%% Load Data
data=xlsread('location','sheet'); %%measured values(decimal number)
Targets=data(1:203,7);
Inputs=data(1:203,1:6);
%%getting error here
data.Inputs=Inputs;
data.Targets=Targets;
Targets=Targets(:,1);
%%Unable to perform assignment because dot indexing is not supported for variables of this type.
0 个评论
回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!