Command:

getInputSample(  
double* sample
)

What:

Retrieves the input sample previously created with createSample

Parameters:

sample
[array of double]

Preallocated matrix of dimension # of runs x # of input variables where the sample will be stored. This allocation is not necessary in Matlab 

Return:

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

Warnings:

If the user do not allocates the correct size of memory an error may occur

Examples:


sample=getInputSample

this command in Matlab returns in the variable sample an NxM matrix containing the previously generated sample, where N is the number of runs and M the number o input variables.


- A Matlab example script using this command manage_samples.m

All Sample Commands: