AutoIncrement
(read/write)
If TRUE parser automatically advances to next token after DblValue, IntValue, or StrValue. Simpler when you don't need to check for parameter names. Default is FALSE.
Example
% Create DSS object
DSSObject = actxserver('OpenDSSEngine.DSS')
if ~DSSObject.Start(0),
disp('Unable to start openDSS');
return
end;
DSSText = DSSObject.Text;
DSSCircuit = DSSObject.ActiveCircuit;
% Handler for Parser functions
DSSParser = DSSObject.Parser;
% Activates auto-increment
DSSParser.AutoIncrement = true;
DSSText.Command = 'compile "C:\Program Files\OpenDSS\EPRITestCircuits\ckt5\Master_ckt5.DSS"';
DSSText.Command = 'set maxiterations=1000 maxcontroliter=1000'; % Just in case
DSSCircuit.Solution.Solve(); % Solves Actor 1