|
From: | Guillaume |
Subject: | [Octave-bug-tracker] [bug #51276] private function in classdef file |
Date: | Tue, 20 Jun 2017 08:25:04 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
URL: <http://savannah.gnu.org/bugs/?51276> Summary: private function in classdef file Project: GNU Octave Submitted by: gyom Submitted on: Tue 20 Jun 2017 12:25:03 PM UTC Category: Interpreter Severity: 3 - Normal Priority: 5 - Normal Item Group: Unexpected Error Status: None Assigned to: None Originator Name: Guillaume Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: I was looking at the compatibility of gramm with Octave: https://github.com/piermorel/gramm/ and noticed a problem with functions defined in a "private" folder: @myclass/ myclass.m private/ myprivatefcn.m classdef myclass properties prop = [] end %properties methods function obj = myclass(varargin) myprivatefcn (); end %function end %methods end %classdef function myprivatefcn disp('hello'); end %function The error message is: octave:2> myclass error: 'myprivatefcn' undefined near line 13 column 7 error: called from myclass at line 13 column 7 As for gramm, it will require matlab.mixin.Copyable... _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51276> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |