if true
% code
end

댓글 수: 1

KSSV
KSSV 2018년 7월 25일
편집: KSSV 2018년 7월 25일
YOur h variable is a vector of length 1*10001. So the error. What should be your h value? It should be scalar I guess. Also code is very messy..you need to rewrite.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2018년 7월 25일
편집: Jan 2018년 7월 25일

0 개 추천

Your code is nearly unreadable. Split the lines, apply a proper indentation (Ctrl-A, Ctrl-I in the editor) and insert meaningful comments.
Then please mention, why you assume that your code is broken.
I know, that this is not a working solution, but I consider it as potentially useful.

카테고리

도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2018년 7월 25일

편집:

Jan
2018년 7월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by