Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

I noticed that new versions of MATLAB change functionality of previous versions, so that my old programs do not work with new versions! It is very bad. It means that old text books are not true anymore. Few examples: 1. The command diff('sin(x)') ret

1 Ansicht (letzte 30 Tage)
I noticed that new versions of MATLAB change functionality of previous versions, so that my old programs do not work with new versions! It is very bad. It means that old text books are not true anymore. Few examples: 1. The command diff('sin(x)') returned 'cos(x)' in the past, before v. 2014. 2. The v. 2017 is, again, different. It says "EZPLOT is not recommended. Use FPLOT or FIMPLICID instead"
I am sure that MathWorks should be responsible for its previous versions!
  1 Kommentar
Rik
Rik am 2 Apr. 2017
This is the reason you should always add a comment to your code in which version you wrote it. Sometimes it is annoying, but most changes are for the best. Plus, you can generally use try and catch to increase compatibility.
Do you also have a question? Because MathWorks is responsible for their previous versions, but they never guaranteed forward nor backward compatibility.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by