Unkown error in stateflow simulink
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mrudul Agrawal
el 9 de Dic. de 2020
Comentada: Mrudul Agrawal
el 14 de Dic. de 2020
Hey all!!
I am trying to simulate railway traffic signal having 2 platforms. I am encountering an error which I am not able to understand.
Kindly someone please help me build this model. Please reply if you are not able to understand my symbols.
0 comentarios
Respuesta aceptada
Mark McBroom
el 12 de Dic. de 2020
It looks like you are attempting to access P1 and P2 in multiple state machines. You have defined P1 and P2 as global variables in your statecharts. YOu need to add a global Data Store Memory in the Simulink model for P1 and P2 that the statecharts can access.
Thanks.
Mark.
3 comentarios
Mark McBroom
el 13 de Dic. de 2020
For UI, easiest approach is to use Simulink Dashboard blocks:
if you need more capability that is available in Dashboard blockset, you can create your own MATLAB UI using Application Designer, but this is more work. https://www.mathworks.com/help/vnt/ug/developing-an-app-designer-app-for-a-simulink-model-using-can.html
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Functions 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!