Well well ! It's work ! But now, with the From Worksplace block, how can I do to do something like that :
data = 1 when time = 0 data = 5 when time = 2
Can I choose the value of data for each moment of time ?
Other question : can I change data to an enum ? And have more than one data in the same From Workplace block ?
Thanks a lot, and sorry, I new in Matlab.