jeudi 9 février 2017

Write to DataStore from Matlab script

Vote count: 0

So what I'm trying to do is this: I have a simulink stateflow model. To display some stuff from this model I built a GUI. In this GUI I have a button that should set a flag to true when pressed, which I want to use inside my stateflow model to start a transition. So whenever I enter a certain state in the stateflow I set the value of the flag to false and I want it set to true when I push the button. Unfortunately I can't find any way to set a local parameter inside a stateflow from a GUI callback function. I've tried using datastore memory blocks, but even though I can set the value from inside the stateflow model, I can't set the value from the callback function of the GUI.

Help would be really appreciated!

asked 29 secs ago

Let's block ads! (Why?)



Write to DataStore from Matlab script

Aucun commentaire:

Enregistrer un commentaire