Adding and Removing Header Files from an Inline C Node (WSN)
- Updated2023-02-21
- 1 minute(s) read
You can add or remove header files when you generate the C code in an Inline C Node.
Adding Header Files
Complete the following steps to include header files when you generate the C code in an Inline C Node.
- Place an Inline C Node on the block diagram.
- Right-click the Inline C Node and select Add or Remove Header Files from the shortcut menu to open the Add/Remove Header Files dialog box.
- Click the Add file button.
- Navigate to and select the header file(s) you want to include. Click the Open button.
- (Optional) Place a checkmark in the Show full paths checkbox if you want to show the file path to the header file(s) you selected.
- Click the OK button.
Removing Header Files
Complete the following steps to remove any header files you might have added when you generate the C code in an Inline C Node.
- Place an Inline C Node on the block diagram.
- Right-click and select Add or Remove Header Files from the shortcut menu to open the Add/Remove Header Files dialog box.
- Select the header file(s) you want to remove.
- Click the Remove file button.
- Click the OK button.