Simulink "variable block"

Risposte (1)

FraFal
FraFal il 16 Nov 2019

0 voti

Hi,
if you want to use variables as input/parameters not constants, you can define the parameter in MATLAB workspace and use that variable instead of the constant values as parameter.
The steps are:
-Define the variable for parameter in MATLAB workspace
-Define a constant block and double clicking the block to open parameter dialogue box
- Use the variable name defined in the MATLAB workspace
-Make sure to inizialize or assig this variable before it's been used

Categorie

Scopri di più su Modeling in Centro assistenza e File Exchange

Prodotti

Release

R2019b

Richiesto:

il 16 Nov 2019

Risposto:

il 16 Nov 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by