|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59304] exist() does not find a class inside @class directory |
Date: | Thu, 29 Oct 2020 17:30:57 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 |
Follow-up Comment #5, bug #59304 (project octave): Interesting, I would have said ftp.m is on the path. Maybe we could get someone with Matlab access to test what exist returns for an old-style class. Alternatively, we could ignore it as old-stlye classes are legacy code these days so there isn't much point in spending a lot of time on the subject. I also think testing with Matlab would be required to untangle how classdef versus regular functions are handled. I would be surprised if subfunctions or nested functions are returned by either exist or which. Are files in private workspaces on the path? In Octave, the scripts directory is on the path and that directory contains +containers. Inside +containers is the file Map.m. I can create a Map object with x = containers.Map But I can't find it with exist exist Map ans = 0 exist +containers/Map ans = 0 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59304> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |