필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Subscript indices must either be real positive integers or logicals by using Eval

조회 수: 1 (최근 30일)
Abdelmajid Mettari
Abdelmajid Mettari 2017년 9월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi People,
I m getting this error when i try to run my simulation,i had an excel table which i want to import in my skript and excute the strings into each cell an abstact of my loop look like this
elem1=table2cell(excelDataTable(1:113,'Export'))
for ii=1:length(elem1)
eval(elem{i})
i=i+1;
end
i don T know what i did Wrong
can any body help? Thank you .
  댓글 수: 2
Stephen23
Stephen23 2017년 9월 13일
편집: Stephen23 2017년 9월 13일
"i don T know what i did Wrong"
Evil eval.
Abdelmajid Mettari
Abdelmajid Mettari 2017년 9월 13일
Hi, thank you for replying.
i just mistype the ii,I wrote the programm with one i and i still got this error, is there any alternativ of Eval?

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by