I am fairly new in using MATLAB unittesting framework. I don't know how to debug uncaught errors there. I am looking for a way similar to using dbstop if error functionality in MATLAB scripts which would stop just at the line c=(1:5)+randn(3) in the script.
My question is how to do it in the following...
classdef sample_Test < matlab.unittest.TestCase
methods(Test)
function sampleAATest(testCase)
a=1;
b=3;
c=(1:5)+randn(3)
end
end
end
any help is appreciated as this feature seems to be quite useful in complicated tests
pauseexecution (still keeping the full stack and memory at this stage) if an expression of your choice istrue.