Info

This question is closed. Reopen it to edit or answer.

userdata in Stateflow blocks

1 view (last 30 days)
Michael Joslin
Michael Joslin on 23 Jan 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
I am creating a signal managment system for certain parameters in a stateflow block. The user inputs information in a GUI and it is stored as a structure in the userdata of the stateflow block. However after applying the info to the userdata I get a warning saying that there is no function 'ceil' for type structure. Looking into this I realized that every new chart has a seemingly random number in the userdata upon adding it to the model and removing it causes errors. What is this number for and is it possible for me to use the userdata filed like I want too?
  1 Comment
Guy Rouleau
Guy Rouleau on 23 Jan 2013
Please technical support. In my opinion, the userdata property should be available to the user.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!