Issue in a Simulink simulation.

Hello guys,
So i have been trying to run a simulation i have been trying and keep getting the same issue no matter the program i run. I have linked images to the model, function code and the error message.Any help is appreciated.

Respuestas (1)

Paul
Paul el 18 de Nov. de 2020

0 votos

Not sure what's going on, but the fact that the port names for the Car Dynamics block are capitalized but are are lower case in the function signature as shown in the editor looks a bit odd. I thought the port names should exacly match the signature. I could be wrong about that and don't know if it provides a clue as to what the problem actually is.

1 comentario

Mohamed Hafeez
Mohamed Hafeez el 19 de Nov. de 2020
Hello sir, The variable case was not the issue.the screenshot of the code was taken at a later time when I was moving the variables around to check if it was causing the issue. However it still provides the same error. Thank you for your response sir.

La pregunta está cerrada.

Preguntada:

el 18 de Nov. de 2020

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by