Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Does which function work for user-defined classes?
Date: Fri, 6 Sep 2013 14:38:10 +0000 (UTC)
Organization: Univ of Edinburgh
Lines: 24
Message-ID: <l0cpci$87a$1@newscl01ah.mathworks.com>
References: <l0ci9i$akc$1@newscl01ah.mathworks.com> <l0co0j$g24$1@newscl01ah.mathworks.com> <l0cp3c$3o9$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: rubyext-06-ls.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1378478290 8426 172.20.102.182 (6 Sep 2013 14:38:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 6 Sep 2013 14:38:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1590682
Xref: news.mathworks.com comp.soft-sys.matlab:802019

To clarify this I did:

------  testclass.m ---------
classdef testclass < handle
    
    properties
        % nothing here!
    end
    
    methods
        
        function this = aclass()
            % do nothins
        end
        
    end
    
end
------  testclass.m ---------

>> which testclass
<snip>\testclass.m  % testclass constructor
>> which testclass/testclass
'testclass/testclass' not found.