|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #55766] properties function should not return Hidden properties |
Date: | Fri, 22 Feb 2019 14:04:30 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL: <https://savannah.gnu.org/bugs/?55766> Summary: properties function should not return Hidden properties Project: GNU Octave Submitted by: rik5 Submitted on: Fri 22 Feb 2019 11:04:28 AM PST Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: According to documentation, Matlab does not return properties for which the "Hidden" attribute is true. Code to reproduce: Create a file testprop.m (attached) with this code classdef testprop properties testprop = 0; end properties (Access = protected) protectedtestprop = 0; end properties (Hidden = true) hiddentestprop = 0; end end Then run x = testprop properties (x) _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55766> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |