Error using checkSingleTaskingSolver (line 31)
Error due to multiple causes.
Error in dlinmod (line 183)
if ~checkSingleTaskingSolver({model}) && simstat
Error in linmod (line 60)
[varargout{1:max(1,nargout)}] = dlinmod(model, Ts, varargin{:}, Args);
Error in cost (line 25)
[a1,b1,c1,d1] = linmod('lin_case');
Error in KH (line 37)
K(z2)=cost(X(:,z2));
Caused by:
Error using checkSingleTaskingSolver (line 31)
Error in port widths or dimensions. Output port 1 of 'lin_case/System with PSS3B/Sum' has 25
elements. This port does not accept the dimensions (or orientation) specified by the output signal.
Error using checkSingleTaskingSolver (line 31)
Error in port widths or dimensions. Invalid dimension has been specified for input port 1 of
'lin_case/System with PSS3B/Transfer Fcn'.