You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classdefImDatapropertiesData {mustBeNumeric, mustBeInRange(Data,[0,255])} =0endendfunction mustBeInRange(a,b)
if any(a(:) < b(1)) || any(a(:) > b(2))
error(['Value assigned to Data property is not in range ',...
num2str(b(1)),'...',num2str(b(2))])
endend
GavriYashar
changed the title
FileStructure not showing methods on same level as classdef
FileStructure not showing utility functions (on same level as classdef)
Mar 6, 2018
doc mustBeInRange
Property Validation Functions (Utility Functions)
The text was updated successfully, but these errors were encountered: