Stepinfo Command Giving Incorrect Output

12 views (last 30 days)
I'm using the stepinfo command to get the parameters (e.g. overshoot, rise time, etc.) of a system simulated using Simulink (MATLAB 2011). However, the output of the stepinfo command clearly differs from the output plot of the simulated system. Could anyone please help me with this?
  4 Comments
Oladipo Stephen
Oladipo Stephen on 24 Feb 2021
Edited: Oladipo Stephen on 24 Feb 2021
@Halima Yakubu, please how did you resolve the issue? I am having the challenge
Halima Yakubu
Halima Yakubu on 25 Feb 2021
It wasn't an issue with the stepinfo command as I previously thought. It turned out there was an error in my Simulink model (a case of a wrongly placed connection). Once I figured that out, the output was as expected.

Sign in to comment.

Answers (1)

KISHENDRAAN VISUANATHAN
KISHENDRAAN VISUANATHAN on 23 Jul 2023
stepinfo(out.out,out.t)

Tags

Community Treasure Hunt

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

Start Hunting!