Skip to content
Snippets Groups Projects
Commit d88ce11a authored by Tim Stadtmann's avatar Tim Stadtmann
Browse files

Overload handle-method findprop to hide it

In contrast to most other handle-methods, this cannot be done in
MaskedHandle as Motor uses findprop.
parent c392a4cd
Branches
Tags
No related merge requests found
......@@ -474,6 +474,12 @@ classdef EV3 < MaskedHandle
end
end
methods (Hidden) % Overload handle-functions to hide them from the user
function findprop(varargin)
findprop@findprop(varargin{:});
end
end
methods (Access = private) % Private brick functions that are wrapped by dependent params
function bat = getBattery(ev3)
if ~ev3.isConnected
......
......@@ -385,6 +385,12 @@ classdef Sensor < MaskedHandle
end
end
methods (Hidden) % Overload handle-functions to hide them from the user
function findprop(varargin)
findprop@findprop(varargin{:});
end
end
methods (Access = private) % Private brick functions that are wrapped by dependent params
function setMode(sensor, mode)
if ~sensor.connectedToBrick
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment