Info

This question is closed. Reopen it to edit or answer.

Issue in a Simulink simulation.

1 view (last 30 days)
Mohamed Hafeez
Mohamed Hafeez on 18 Nov 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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
Mohamed Hafeez
Mohamed Hafeez on 19 Nov 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.

Community Treasure Hunt

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

Start Hunting!