Simulink.ModelReference.ProtectedModel.HookInfo class

Package: Simulink.ModelReference.ProtectedModel
Superclasses:

Represent files and exported symbols generated by creation of protected model

Description

Specifies information about files and symbols generated when creating a protected model. The creator of a protected model can use this information for postprocessing of the generated files prior to packaging. Information includes:

  • List of source code files (*.c, *.h, *.cpp,*.hpp).

  • List of other related files (*.mat, *.rsp, *.prj, etc.).

  • List of exported symbols that you must not modify.

Construction

To access the properties of this class, use the ‘CustomPostProcessingHook’ option of the Simulink.ModelReference.protect function. The value for the option is a handle to a postprocessing function accepting a Simulink.ModelReference.ProtectedModel.HookInfo object as input.

Properties

expand all

A list of exported symbols generated by protected model that you must not modify. Default value is empty.

For a protected model with a top model interface, the HookInfo object cannot provide information on exported symbols.

A list of non-source files generated by protected model creation. Examples are *.mat, *.rsp, and *.prj. Default value is empty.

A list of source code files generated by protected model creation. Examples are *.c, *.h, *.cpp, and *.hpp. Default value is empty.

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects.