How can I set block mask parameter from subsystem input
Mostra commenti meno recenti
Hello.
I am new to simulink. I am using simscape hydralic and mechanic blocks to create my library subsystem piston model. I would like to initialize "Piston initial position" of "Hydralic Piston Chamber" from my subsystem input. This input would be connected to other block output, which calculates initial position according to cam geometry.
I am able to create subsystem mask parameter as variable to the block, but I don't know, how to initialize this variable from other block. Constant block can be used as variable source; I miss a block targeting port signal to a variable.
I would like to have my piston model independent of base or model workspace.
I would be glad for any help or advice.
Thanks.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Component-Based Modeling in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!