Code in matlab 2018a doesnt work on 2018b

1 Ansicht (letzte 30 Tage)
Marta Giai
Marta Giai am 19 Mai 2020
Beantwortet: Vaibhav Tomar am 27 Mai 2020
Hi,
I have implemented an orbital simulator using matlab 2018a and simulink. It performs three maneuvers using several PIDs (1dof) for controlling the trajectory. Each maneuver starts when the previous one ends, meaning some conditions have been met. My code smoothly runs on 2018a but if i try to move to 2018b I get a very bad trajectory, only the first maneuver is performed out of the three. Could it be because of PIDs? Their response does not stabilize (no steady state is reached by any of them). Or are there any significant differences between the two version which could affect my code, for example in terms of discrete integration?
Thanks in advance. :)
  1 Kommentar
Sindar
Sindar am 19 Mai 2020
I'd check the release notes for incompatibilities. See here, and also check other products you're using. Nothing pops out at me for Matlab

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Vaibhav Tomar
Vaibhav Tomar am 27 Mai 2020

Kategorien

Mehr zu Quadcopters and Drones finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by