Main Content

Use Parameter Writer Block to Change Block Parameters

This example shows how to use the Parameter Writer block to change the values of block parameters.

This example provides five different use cases in which the Parameter Writer block is used to:

  • Change a tunable parameter.

  • Change a Model block instance parameter.

  • Change a masked subsystem parameter.

  • Change a block parameter based on a function-call event.

  • Change a model workspace variable.

Open the model.

open_system("ex_Parameter_writer_block_patterns")

ex_Parameter_writer_block_patterns.png

See Also

| | | | |

Related Topics