https://it.mathworks.com/help/matlab/ref/matlab.mock.testcase.getmockhistory.html
matlab.mock.TestCase.getMockHistory - Return history of mock object interactions - MATLAB
This MATLAB function returns the history from a mock object.
return historymatlabmocktestcaseobject