Command:

getNumSamples (  
int value
)

What:

Retrieves the number of really executed runs. The sample can in fact be cleaned out of values and the initial # of runs can be different from the number of generated samples, for example if the FAST method is in use.

Parameters:

value
[int]
this parameter will contain the number of runs set. In Matlab the result will be retrieved in the system variable ans

Return:

error_code [int]: 1 if the operation has occurred without errors, 0 if an error has occurred

Examples


runs=getNumSamples

this command in Matlab returns in the variable runs the number of effectively executed runs.


- A Matlab example script using this command manage_samples.m, see also FAST_classic.m

All Sample Commands: