Compute Parameter
Libraries:
Motor Control Blockset /
Signal Management
Description
The Compute Parameter block extends the functionality of compatible blocks available in the current model. The block customizes itself according to the settings of a compatible block and provides the parameters needed by the compatible block through either an output bus or multiple output signals.
You can use the Compute Parameter block parameters dialog box to select a compatible block by providing its relative path. The dialog box can also list the relative paths of all compatible blocks available in the current model, which you can then copy to the Relative path of compatible block that needs functional extension field in the dialog box.
For example when you configure the Compute Parameter block to connect with Flux Observer block, the Compute Parameter block provides an output in the form of a bus. You can then connect this bus to the additional input port ParameterBus available in the Flux Observer block.
For the other compatible blocks, you can connect the Compute Parameter output signals to the corresponding additional input ports available in the compatible blocks.
Therefore, the block provides a functional extension to the compatible blocks by enabling them to accept parameter values at run-time. The block supports these compatible blocks:
It is recommended that you run this block at a rate that is slower than the task rate of compatible block to minimize the computation load in hardware targets.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2024a