Code in matlab 2018a doesnt work on 2018b

2 views (last 30 days)
Marta Giai
Marta Giai on 19 May 2020
Answered: Vaibhav Tomar on 27 May 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 Comment
Sindar
Sindar on 19 May 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

Sign in to comment.

Answers (1)

Vaibhav Tomar
Vaibhav Tomar on 27 May 2020

Community Treasure Hunt

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

Start Hunting!