Technical data
LibCacheGlobalPrmData
4
-19
LibCacheGlobalPrmData
Purpose
Call this function from inside
BlockInstanceSetup
to cache global block
parameter data.
Syntax
%<LibCacheGlobalPrmData(buffer)>
Arguments
buffer
Buffer of global data.
Description
This function should be called from inside
BlockInstanceSetup
to cache global
block parameter data. Each call to this function appends your buffer to the
existing cache buffer. The global data is placed inside
model.prm
.
Example
%openfile buffer
real_T A[][] = {
{ 1.0, 0.0, 0.0 }, /* row 1 */
{ 1.0, 2.0, 0.0 }, /* row 2 */
{ 1.0, 0.0, 3.0 } /* row 3 */
}
%closefile buffer
%<LibCacheGlobalPrmData(buffer)>
See Also
LibCacheNonFiniteAssignment