[itnlim, iw, rw, ifail] = e04wk('Iterations', iw, rw);will result in the value of the optional parameter Major Iterations Limit being output in itnlim.
None.
Open in the MATLAB editor: e04wk_example
function e04wk_example fprintf('e04wk example results\n\n'); string = 'Iterations'; itmax = int64(100); % Initialize [iw, rw, ifail] = e04wc; % Set option [iw, rw, ifail] = e04wg( ... string, itmax, iw, rw); % Get option value [ivalue, iw, rw, ifail] = e04wk( ... string, iw, rw); fprintf('%s has been set to %5d\n', string, ivalue);
e04wk example results Iterations has been set to 100