Start and stop saving of multiple data vectors to multiple files
[sim] = ld_MultiFileSave(sim, ev, inlist, cntrl, FileNamesList)
inlist list() of *+ - Data to write
cntrl * - if cntrl steps to 2 then saving is started; if it steps to 1 saving is stopped
FileNamesList list() of strings - Filenames for saving
Note: This function tries to automatically detect the vector size for each entry of inlist.
Howver, this does not work for all signal sources (blocks) at the moment.
If come accross such a situation, you're invited to notify the authors of ORTD.
Note: cntrl does not have an effect by now
TriggerSave = ...
SaveSignals($+1) = Signal1; FileNamesList($+1) = "measurements/Signal1.dat";
SaveSignals($+1) = Signal2; FileNamesList($+1) = "measurements/Signal2.dat";
[sim] = ld_MultiFileSave(sim, 0, ...
cntrl=TriggerSave, FileNamesList );