pwSavePlottingData


 pwSavePlottingData(types, coupleNr, stimulusNr, filename, openFile)

 Save currently plotted data to a text file.

 

Arguments for pwSavePlottingData

 types      Cell array with one or more of the fields:

            tFine      time (high sampled)
            xFine      dynamic variables
            yFine      observations
            zFine      derived variables
            uFine      driving input functions

            or

            tForFit        time (sampled as specified in model.t for simulations
                                 or as given in the data set)
            xForFit        dynamic variables
            yDataForFit    observations (simulated or external)
            yDataStdForFit standard deviation of observations
            residuals      weighted distance between model and observations
            yForFit        observations calculated by the model

 coupleNr   Number of the combined couple (default 1)

 stimulusNr Number of the stimulus (default 1)

 filename   Name of the file to save the data. If not given, a dialog will be used.

 openFile   After saving, the file can automatically be opened to see the data.

 

Example

 pwSavePlottingData({'tFine', 'xFine'}, 1, 1, 'myData.txt', false);

See also

pwGetPlottingData