Change settings in model properties dialog box by matlab command
Ältere Kommentare anzeigen
Hello everyone, Currently I am working on Matlab 2014a and I am using Data dictionary in my model and hence in model properties dialog box (File-> Model Properties-> Model Properties -> Data Tab), Defined in Data Dictionary is selected (refer image)

I want to change this setting to Base workspace, through matlab command.
Can someone help in modifying this setting?
Akzeptierte Antwort
Weitere Antworten (2)
Arunkumar Muthukumaran
am 21 Apr. 2015
0 Stimmen
1 Kommentar
Sebastian Castro
am 21 Apr. 2015
Bearbeitet: Sebastian Castro
am 21 Apr. 2015
For example, you can create a script that adds your models and your data dictionaries to the MATLAB path:
addpath({'myFolder/models','myFolder/data'})
Once you do that, MATLAB will have all your necessary files added to the path. There's more advanced ways to manage all yo
- Sebastian
Arunkumar Muthukumaran
am 21 Apr. 2015
0 Stimmen
1 Kommentar
Sebastian Castro
am 21 Apr. 2015
I see. You can use "which" to get the full path to things, assuming they are on your MATLAB path:
filePath = which('GlobalData.sldd')
Is that more like it?
Kategorien
Mehr zu Simulink Environment Customization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!