When you generate code for a model that contains an instance of a reusable library subsystem with a function interface, specify whether or not to display a warning or an error when the model cannot use pregenerated library code or pregenerated library code is missing.
Default:
warning
none
If pregenerated library code is missing, Simulink® software does not display a warning or an error. The code
generator generates code for a reusable library subsystem that does not
contain function interfaces. The generated code for the reusable library
subsystem is in the slprj/target/_sharedutils
folder.
warning
If pregenerated library code is missing, Simulink software displays a warning. The code generator generates
code for a reusable library subsystem that does not contain function
interfaces. The generated code for the reusable library subsystem is in
the slprj/target/_sharedutils
folder.
error
Simulink software displays an error message. The code generator does not generate code.
To use pregenerated library code, before generating code for the model, generate code for the library.
Parameter:
PregeneratedLibrarySubsystemCodeDiagnostic |
Value:
'none' | 'warning' |
'error' |
Default:
'warning' |
Application | Setting |
---|---|
Debugging | error ,
warning |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |