Index exceeds matrix dimensions
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
Iam getting error at following place, please suggest to resolve.
Index exceeds matrix dimensions.
Error in uisignalbuilder_speed/Import_Excel (line 595)
timefromworkspace = evalin('base','speedfromworkspace(:,1);');%test
function Import_Excel()
a=uigetfile('*xls');
name1=cellstr(a);
[~,a] =xlsread(name1{1});% read data from excel file%test replaced 1
% removeallsignals();%TEST
evalin('base', 'clear speedfromworkspace;');
assignin('base','speedfromworkspace',a);
removeallsignals();
timefromworkspace = evalin('base','speedfromworkspace(:,1);'); // GETTING ERROR
HERE
speedfromworkspace = evalin('base','speedfromworkspace(:,2);');
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!