Applying build process to data analysis
Ältere Kommentare anzeigen
I'd like to use the build process to process collected data. This is a multi staged process which includes bringing in and parsing the data, reducing the data, creating index to pertinent portions of the collection, analyze and create figure outputs. Toward that end, i'd like to dynamically specify input and output file collections via input arguments. I don't care to process the whole 'tree' of data everytime I build. I'd like to be able to specify a branch of the data with my arguments. Is there any way to specify input file collection details as an argument in the interest of exercising incremental builds?
Akzeptierte Antwort
Weitere Antworten (1)
Dinesh
am 8 Sep. 2026 um 10:37
0 Stimmen
Hi Dan,
MATLAB Build Tool supports configurable tasks that accept arguments, and task arguments participate in incremental build fingerprinting. A common approach is to pass a branch identifier (or file-collection specification) as a task argument and then construct the task's FileCollection inputs and outputs from that value. This allows you to process only the relevant subset of the data hierarchy while still benefiting from incremental execution. Keep in mind that Build Tool's up-to-date checks work best when the selected files are represented in the task's declared inputs and outputs, rather than being discovered solely within the task action.
Please refere to the following documentations for more information:
1 Kommentar
Dan
am 8 Sep. 2026 um 12:51
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!