MatrixBerryCore
StructChangeTrackerNegative.m
Go to the documentation of this file.
1 classdef StructChangeTrackerNegative<mxberry.core.struct.StructChangeTracker
2  properties
3  end
4 
5  methods (Static)
6  function SInput=patch_001_alpha(SInput)
7  SInput.alpha=1;
8  end
9  function SInput=patch_103_test(SInput)
10  mxberry.core.throwerror('artificialPatchApplicationError',...
11  'artificially generated exception');
12  end
13  end
14  methods
15  function SInput=patch_002_test(~,SInput)
16  SInput.beta=3;
17  end
18  end
19 end
function throwerror(in msgTag, in varargin)
THROWERROR works similarly to built-in ERROR function in case when there is no output arguments but s...
STRUCTCHANGETRACKER keeps a list of structure patches and provide tools for applying them to any arbi...