20 years old code

39 views (last 30 days)
Niloufar
Niloufar about 7 hours ago
Commented: Steven Lord about 4 hours ago
I have a 20 years old code which starts the simulation using
OPTIONS=[1e-3,0.01,0.1,0,0,2];
euler('shuman',Ttotal,[],OPTIONS);
euler has since changed, how do I start it now? Also there is simver(1.3), anyone know what that means?
Thank you and kind regarsd,
Nilo
  9 Comments
dpb
dpb 25 minutes ago
Edited: dpb 5 minutes ago
No, it doesn't appear you do have all the original code; somewhere there was another user-supplied euier function besides Mathworks-suppled one. What, specifically, it did is anybody's guess depending upon what the model is of but it's a decent bet it was an implementation of Euler's method for ODEs.
Other than "20 years ago code" is there any chance you can find out what release was installed when this was last run succcessfully? You could then verify that there was no prior functionality that matched that footprint that has subsequently been removed.
Search FEX, maybe the developer picked up a submittal from there.
Steven Lord
Steven Lord less than a minute ago
Do you have a Simulink model file for your system? If you do, what happens when you try opening it up in Simulink today? Does it know how to translate those very old pieces of infrastructure into the current Simulink architecture, does it throw errors, or does something else happen?

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!