Borrar filtros
Borrar filtros

How do I store output of listEntry function in a variable

6 visualizaciones (últimos 30 días)
manish kumar
manish kumar el 11 de Dic. de 2017
Respondida: HaMo el 11 de Jun. de 2018
As I am new to matlab, I don't know the way to store the output of listEntry function in a variable.
I need to access that variable as an array so that I can iterate over one of its column.
Thanks in advance.

Respuestas (1)

HaMo
HaMo el 11 de Jun. de 2018
This is a workaround I came up with:
dictObj = Simulink.data.dictionary.open('MyDictionary.sldd');
secObj = getSection(dictObj, 'MySection');
entries = secObj.find;
variableNames = {entries.Name};

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by