SCICOS

classic Classic list List threaded Threaded
1 message Options
Cordero R. Cordero R.
Reply | Threaded
Open this post in threaded view
|

SCICOS

To: Inderpreet Arora
To access a variable stored (I will call it "X") in SCICOS "To workspace" block:
When you enter X in the command window, you can see that it has two components: "time" and "values". "time" depends of the sample time and the buffer size.
You can get these components with these instructions:
var1=X.time;
var2=X.values;
The arrays of time and values of X will be stored in var1 and var2 respectively.
Sincerely
Raymundo