Simcoder Add Header and External File
Altair Forum User
Altair Employee
Answers
-
There are two ways to include external header files so that PSIM will know where to find it:
1. Copy/move the file to the same folder as your PSIM schematic.
2. In PSIM's "Options >> Set Path", add the path to the section "C Block Include Path".
This is where you define the search path for the include files for C blocks. For C blocks, additional include files (such as header files) can be placed in any folder, and if this folder is added to C Block Include Path, PSIM will search for this folder and load the include files to the C blocks.
0