Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

enumerated variables of a matlab sldd file

Status
Not open for further replies.

mehdibouz

Automotive
Joined
Aug 26, 2022
Messages
2
Location
MA
im looking for a script that changes the name of the enumeration variables of a matlab sldd file
 
myDictionaryObj = Simulink.data.dictionary.open('myDictionary_ex_API.sldd');
dDataSectObj = getSection(myDictionaryObj,'Design Data');
fuelFlowObj = getEntry(dDataSectObj,'fuelFlow');
%Rename the data dictionary entry.

fuelFlowObj.Name = 'fuelFlowNew';

that's in the documentation

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top