Line 1: h = filterPlot(trip,0,18,1,2000,machMap,20,110);
Line2: updateSystem(h,filterPlot(trip,0,18,1,2000,machMap,25,110));
I am using above two lines of code to update my figure with new inputs. and I get the above error.
First line gives me a figure using my filterPlot function. I want to update the same figure with new input values. But when I execute second line, It throws above error and gives updated figure in new window.
I am using Matlab R2017b version.
I have my "fliterPlot" function attached. Any suggestions?
Thanks