StefanRickli / anp

(A)nimated (N)yquist (P)lot. A Matlab program that draws a reasonable Nyquist diagram of any given rational transfer function and allows the user to explore it.
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Legacy support broken. (potentially R2016a+ now) #5

Closed StefanRickli closed 7 years ago

StefanRickli commented 7 years ago

The new object oriented version doesn't work anymore with Matlab R2014b.

It seems that class restriction of properties is a feature of R2016a and higher. http://ch.mathworks.com/help/releases/R2016a/matlab/matlab_oop/restrict-class-of-properties.html

Documentation of earlier Matlab releases don't contain the above chapter.

StefanRickli commented 7 years ago

Will not make v5 backward compatible for earlier Matlab releases, but I checked on ANP v4.0 and it seems to be the latest release to support R2014b.

Will have to check R2016a though.

StefanRickli commented 7 years ago

Confirmed that R2016a works with the basic usage examples after fixing a small incompatibility (type 'string' is unsupported as property type validation).