octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need test for handles to classdef methods run in Matlab


From: John W. Eaton
Subject: Need test for handles to classdef methods run in Matlab
Date: Fri, 22 Mar 2019 22:10:42 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

I'm attaching a simple classdef file, mycls.m, and need the following tests run with it in a recent version of Matlab:


obj = mycls ();

obj.meth (1)

mycls.smeth (1)

obj.smeth (1);

fh = @obj.meth;
fh(2)

fh = @mycls.smeth;
fh (2)

fh = @obj.smeth;
fh (2)


You should run the tests individually instead of in a script as there may be errors and I need to see all the results, not just up to the first error.

Thanks,

jwe

Attachment: mycls.m
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]