Command line output for Stateflow actions in R2016b
3 次查看(过去 30 天)
显示 更早的评论
In the past, I've used the unsuppressed command line output to debug logic and transition actions in Stateflow. It would be enough to simply leave off a semicolon off a line of code in a transition for the result to be displayed in the Matlab command window. Using specific functions such as printf (in C charts) and disp/fprintf (in Matlab charts) also worked, specifically when actions in Stateflow used external C variables that couldn't be inspected using normal Stateflow GUI tools. It appears, however, that this changed in R2016b - I can't seem to be able to generate any command window output from my Stateflow logic. Was this functionality intentionally removed or otherwise disabled? Is there another way for me to display the values of C variables that I use in a Stateflow chart? I'm specifically interested in displaying values of C strings, since Simulink/Stateflow in R2016b doesn't have string data types.
0 个评论
采纳的回答
Brandon Eidson
2017-1-6
Hey Dima, as of R2016b, these outputs now show up in the Diagnostic Viewer rather than the Command Window.
If you have a use case where it is more advantageous to have these displayed in the Command Window, I would suggest you directly contact MathWorks Technical Support to discuss. Having access to Technical Support is one of the advantages of maintaining a Software Maintenance Service subscription, which you have.
0 个评论
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!