Table Of Contents

Model Code Components

Last Modified: June 10, 2021

The files model.h and model.c are used to implement your models.

Create the following two files to implement your C/C++ model:
  • model.h—Contains the type definitions for your model parameters.

    You must name the file model.h and include all user-visible parameters in your model.

  • model.c—Contains your model code. Make a copy of template.c and modify the copy to ensure you maintain interdependent structures, such as headers, imported and exported symbols, and functions that NI software recognizes, between your model code and ni_modelframework.c.

    You can name this .c file anything.

Recently Viewed Topics