Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I designed a state-machine with evens and transitions in Simulink (Matlab). All i did was gave some timer events and made it jump from one state to other. It works perfectly fine. Now the question is where can I see the C code that corresponds to state machine? Where are these files stored?

share|improve this question
add comment

1 Answer

To view the automatically generated C-code, you require the Simulink Coder product. Find more information on this topic at the Stateflow product page here:

http://www.mathworks.com/products/stateflow/description5.html

hope that helps, Siddharth

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.