Skip to content
Snippets Groups Projects
Commit bcd890c4 authored by Cristian Galperti's avatar Cristian Galperti
Browse files

sldd exporting tool in the right folder

parent b61958ca
No related branches found
No related tags found
No related merge requests found
function export_sldd_to_base(dict_name)
hDict = Simulink.data.dictionary.open([dict_name,'.sldd']);
hDesignData = hDict.getSection('Global');
childNamesList = hDesignData.evalin('who');
for n = 1:numel(childNamesList)
hEntry = hDesignData.getEntry(childNamesList{n});
assignin('base', hEntry.Name, hEntry.getValue);
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment