Determine if the S-function can run multithreaded
ssSetRuntimeThreadSafetyCompliance(SimStruct *S, int_T val)
SimStruct representing an S-Function block.
Threadsafety compliance setting. The setting can be:
Declare that it is not known if the S-function is
Declare the S-function as threadsafe.
Declare the S-function as not threadsafe.
Use this macro in an S-function to set it as threadsafe, which means it can run
multithreaded. This setting works with the
MultithreadedSim block property. The behavior is:
|Option||S-Function Runs Single or Multithreaded|
|—||Setting is ignored and S-function block runs singlethreaded|
See the S-function used in