...
>> % If state is finished, fetch results
>> j.fetchOutputs{:}
or
>> fetchOutputs(j)
>> % Display the diary
diary(j)
...
...
>> % If state is finished, fetch results
>> j.fetchOutputs{:}
or
>> fetchOutputs(j)
>> % Display the diary
diary(j)
...