Skip to Main Content Skip to Search
Product Documentation

Debugging Notes

While developing your custom driver, you can use printf statements in your code. This displays output on the left-hand side of the target computer monitor. If your printf statements scroll off the monitor, consider disabling the target computer scope area to provide more display area for these statements:

  1. At the MATLAB Command Window, type xpcexplr to start xPC Target Explorer.

  2. In xPC Target Explorer, navigate to target_PC_node > Configuration > Appearance.

  3. Clear the Enable target scope check box.

  4. Recreate the target boot disk and reboot the target computer.

    The scope area on the target computer monitor no longer appears.

  5. Continue with the device driver development.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS