function [NameOfOutput, Output1, Output2] = example(data) % explanation % data is double with the length of the timetable % you can add any number of datasets to your function be clicking them in the "Choose Data Sets to use" Field % Datasets will be input in the same order as you clicked them % you can add more inputs into your function by typing something like this [NameOfOutput, Output, NameOfOutput2, Output2] = example(data, data2, data3), same with outputs % keep the sequence of name, output, name output, otherwise there will be errors % if exported to workspace the output can be viewed in data_created with the column title NameOfOutput % NameOfOutput will be displayed in the app, as well as in in data_created exports % reminder that the inputs and outputs after function [outputs] = functionname(inputs) must be declared somewhere in the function % if you want to test your function you can export the data and use the function outside of the app with the terminal NameOfOutput = ["Output 1" "RandomName"]; % don't use , Output1 = data * 2; %output should be a double with same length as your data Output2 = data * 1/2; end