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.

Risposte (1)

Paul
Paul il 18 Nov 2020

0 voti

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 Commento

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.

Questa domanda è chiusa.

Richiesto:

il 18 Nov 2020

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by