if true
% code
end

1 comentario

KSSV
KSSV el 25 de Jul. de 2018
Editada: KSSV el 25 de Jul. de 2018
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.

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 25 de Jul. de 2018
Editada: Jan el 25 de Jul. de 2018

0 votos

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.

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Preguntada:

el 25 de Jul. de 2018

Editada:

Jan
el 25 de Jul. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by