Applying build process to data analysis
Show older comments
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?
Accepted Answer
More Answers (1)
Dinesh
on 8 Sep 2026 at 10:37
0 votes
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 Comment
Dan
on 8 Sep 2026 at 12:51
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!