[itnlim, cw, iw, rw, ifail] = e04vr('Major Iterations', cw, iw, rw);will result in the value of the optional parameter Major Iterations Limit being output in itnlim.
None.
Open in the MATLAB editor: e04vr_example
function e04vr_example fprintf('e04vr example results\n\n'); string = 'Elastic mode'; elmode = int64(1); % Initialize [cw, iw, rw, ifail] = e04vg; % Set option [cw, iw, rw, ifail] = e04vm( ... string, elmode, cw, iw, rw); % Get option value [ivalue, cw, iw, rw, ifail] = e04vr( ... string, cw, iw, rw); fprintf('%s has been set to %5d\n', string, ivalue);
e04vr example results Elastic mode has been set to 1