Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS 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
Aug 26, 2022
2
im looking for a script that changes the name of the enumeration variables of a matlab sldd file
 
Replies continue below

Recommended for you

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