Increase model performance by consolidating small models and preallocating arrays for LabVIEW models.
|Consolidate small models into one large model.||Several small models use more memory than one large model.|
|Preallocate arrays for LabVIEW models instead of using Build Array functions.||
Each Build Array function uses a shared resource. This may delay the model execution because both models cannot use the shared resource simultaneously. Preallocating arrays avoids potential delays.
To preallocate an array, use a Case structure and the First Call? function. Replace the elements of the array at run time with the Replace Array Subset function.