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.

Answers (1)

Paul
Paul on 18 Nov 2020
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 Comment

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.

This question is closed.

Asked:

on 18 Nov 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!