Aug 26, 2022 #1 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
Aug 26, 2022 #2 GregLocock Automotive Joined Apr 10, 2001 Messages 23,892 Location Orbiting a small yellow star 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 http://eng-tips.com/market.cfm? Upvote 0 Downvote
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 http://eng-tips.com/market.cfm?