Hello. I am new in Stateflow and i would like to ask a question.
I have made very simple model of traffic light which is made from four states. In each state there are just outputs (S=1 or S=0, 1 is GREEN and 0 is RED) and i wanna visualize it. Can you help me ? I am looking for the simpliest method, nothing complicating. For example, I will draw a crossing by myself, then I place a traffic lights and where there is S=1, the traffic light will be green.
Thanks

댓글 수: 2

Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 25일
What do you want to visualize?
Tomas
Tomas 2014년 4월 25일
I wanna visualize transitions of semaphores' signals, from red to green and from green to red.

댓글을 달려면 로그인하십시오.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 27일

0 개 추천

I don't think you can get those colors just by using Simulink. If you have a 3D world Editor, you can use a VRML Builder to draw whatever you want, and connect it to your stateflow model, and get any effect you want (color, sound, movement...)

댓글 수: 1

Tomas
Tomas 2014년 5월 1일
Can I change the color in figure ? I am drawing my own custom figure right now and by changing values in matlab workspace I'll make it possible.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Stateflow에 대해 자세히 알아보기

질문:

2014년 4월 25일

댓글:

2014년 5월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by