C Block

Hi,

Given the following file structure:
Folder_Source: main.c
Folder_Header: parameter.h
What directive should I use in main.c to include the parameter.h file from different folders?
When I use #include <parameter.h> or #include “parameter.h” does not work.
Thank you very much.

Aitriz

You need to set the path of the *.h that you want to use in the options.

Options->set path->c block include path

remember to hit “Save” in the bottom before you exit!

thank you very much!

Hi,

I set the configuration path by adding the FOLDER_HEADER
inside “PSIM Searh Path” and “Device File Patch”
Then I use #include <parameter.h>
but it does not work…"cannot find file ‘parameter.h’

Thanks, Aitriz