MATLAB Function Reference
  Go to function:
    Search    Help Desk 
add_data    

add a input-output data set to the model

Syntax

Description

m=add_data(m) removes all the input-output data from the model M.

m=add_data(m,data,t) puts data into the field 'data' of the model m, data must be a data object. The optional variable t specifies the sampling time of the model (default continuous = 0).

Remarks

This function is used to inizialize the System 'data' field with the model input-output data. The data is stored in the 'data' field which store.

[ Help Desk ]