Azzera filtri
Azzera filtri

How can I save the text in the model workspace variable description?

18 visualizzazioni (ultimi 30 giorni)
I want to save in as a string variable the text in the description of the simulink parameter that is in the simulink model workspace (image)

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 1 Ago 2024 alle 19:11
mw=get_param(bdroot,'ModelWorkspace');
a=mw.getVariable('Param');
>> s=get(a,'Description')
s =
'abc'

Più risposte (0)

Categorie

Scopri di più su Interactive Model Editing in Help Center e File Exchange

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by