using this command but getting a error "TIMESPAN" should be real vector/scelor.
Best Answer
The syntax that you are using was introduced in R2009b. If you're using R2009a or an older release, the second parameter needs to be a timespan vector. Also, you need to use theBackwards Compatible Syntax.
You need to use the Data Import/Export Pane of the model's Configuration Parameters window to get data using the Inport block. SeeImporting Data to Root-Level Input Ports for more information.
Best Answer