Azzera filtri
Azzera filtri

Simulink - Mask Editor - get_param

1 visualizzazione (ultimi 30 giorni)
Heerlein Fabian
Heerlein Fabian il 13 Ott 2017
Risposto: Ashish Azad il 24 Giu 2020
I created a subsystem "Contact" (see Figure 1). With the maskeditor I would like to be able to enter my subsystem variables.
The Subsytem contact contains a self-defined Simulinkblock with a ssc.-file (Fig. 2). In this ssc file are the variables and parameters which I would like in my Subsytem contact, in the mask representation. (Picture 3)
I have to solve the problem with get_parm, unfortunately there are only error messages or question marks.
How to access variables from other subsystems? For example. the values of display when the simulation is complete and no longer running?

Risposte (1)

Ashish Azad
Ashish Azad il 24 Giu 2020
The path you are using in string should be in string format:
e.g: get_param("KontactSimulation/Kontact/test")

Categorie

Scopri di più su Author Block Masks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by