Mark (prince_of_lies) wrote in matlab_help,

This is kind of a long shot, but... (cross posted)

I have a simulink model that is almost identical to a matlab script (it uses the exact same function, but there are loops instead of a for loop ). But in simulink the output is off. My advisor and I think it's an integration scheme or a time step problem, but I've played around with all the settings and the numbers come out the same. The steady state numbers are good if I make the time step ginormous, but the transient values don't look as nice.

Sooooo are there any simulink whizzes out there who have any suggestions?

Thanks in advance!

edit: Sorry, to clarify: what possible things can make a simulink model act differently from a matlab script, when they're essentially the same?
  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.