When you simulate a state chart, you can instruct Embed to enter every instruction executed by the C interpreter into a corresponding Log file. If your state chart is not executing correctly, reviewing the Log file can help you find erroneous or unwanted code execution.
By default, Embed uses the name of the corresponding block diagram as the Log file name, and stores the Log file in the same directory as the corresponding block diagram. The Log file is opened in the default text editor.
To enter instructions in the Log file
• CTRL+right-click state chart and activate Log Executed C Instructions.
To change the name or location of the Log file
• CTRL+right-click state chart and click Browse to enter a new name and location for the Log file.
To examine the Log file
• CTRL+right-click state chart and click Open.