I have written a class in Matlab with prorties und functions. The code itsself works fine.
I construct the code with
theory = ODtheory;