Problem in generating code for a simple model
Ältere Kommentare anzeigen
Hi, I did a small state flow model, which should produce a output 1 when the input is 0 and produce ouput 0 when the input is 1. i simulated it and worked well.
1. when i tried generating code i used grt.tlc and generated code, the code runs for 3 to 4 pages for such a simple model, why?. and also i could see lot of supporting files, is it normal or i did something wrong when generating code?
2. I wanted to generate code for micro controller 8051 of the same model. i couldn't see any difference from the previous code and the code generated for 8051,also how can i select the input and output port pins of the microcontroller??
any help would be really appreciated.....
Thanks Vijith
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!