/tags/rel-1.3.35/Examples/test-suite/octave/ret_by_value_runme.m

# · MATLAB · 10 lines · 8 code · 2 blank · 0 comment · 2 complexity · 076a972c7c01327a1566738fedb77afd MD5 · raw file

  1. ret_by_value
  2. a = ret_by_value.get_test();
  3. if (a.myInt != 100)
  4. error
  5. endif
  6. if (a.myShort != 200)
  7. error
  8. endif