Programmatically change external mode data archiving directory
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cody
am 13 Nov. 2014
Beantwortet: Jan Houska
am 19 Nov. 2014
Is it possible to programmatically specify or change the data archiving directory in the Simulink external mode control panel? We have a technician interacting with a real-time simulation via a custom GUI, and would like them to be able to easily archive data in different directories depending on the test type.
0 Kommentare
Akzeptierte Antwort
Jan Houska
am 19 Nov. 2014
This should do what you need:
set_param(model, 'ExtModeArchiveDirName', 'c:\your_directory')
0 Kommentare
Weitere Antworten (1)
MA
am 13 Nov. 2014
Bearbeitet: MA
am 13 Nov. 2014
writing your desired directory with cd code in the command window, for exmaple my directory is C:\peace\one , you should write code as following:
cd C:\peace\one
you should notice that this directory does exist otherwise it gives you an error
0 Kommentare
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!