/trunk/Examples/test-suite/octave/using_protected_runme.m

# · MATLAB · 8 lines · 6 code · 2 blank · 0 comment · 1 complexity · bfaa7533077861671fa22aaef373fb22 MD5 · raw file

  1. using_protected
  2. f = FooBar();
  3. f.x = 3;
  4. if (f.blah(4) != 4)
  5. error("blah(int)")
  6. endif