How can I programmatically add a Stateflow.Data ?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Houellebecq Vincent
el 18 de Oct. de 2024
Comentada: Houellebecq Vincent
el 21 de Oct. de 2024
I used a Mathworks tutorial (in the link under) to copy a stateflow, but data (in the sybols Pane) aren't flollowing.
How I can Copy or add Stateflow.Data ?
Thanks
0 comentarios
Respuestas (1)
Shubham
el 18 de Oct. de 2024
Editada: Shubham
el 18 de Oct. de 2024
As far as I understand, copying graphical objects also copies the Stateflow.Data objects contained by graphical objects. When you copy multiple graphical objects, the value of their Subviewer property must be the same. Also note that the array must contain only graphical objects or only nongraphical objects.
If the above conditions are satisfied, the Stateflow.Data should get copied.
For more information please check the documentation of objArray (the objects to copy) using the copy function: https://www.mathworks.com/help/stateflow/api/stateflow.clipboard.copy.html#mw_af87b90f-8fbe-430e-a5f0-03b56fe3978e
If you have further queries, please share the example you are using in order to reproduce the issue.
Happy coding!
3 comentarios
Ver también
Categorías
Más información sobre Model Compatibility en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!