I recently learned about the uifigure-based way of coding a GUI programmatically.
I cannot use AppDesigner for this specific project.
In order to keep my code consice I have created a loop to create my 5 editfields
for K = 1:5
txtp1(K) = uieditfield(f, 'Position', [(90+((K-1)*30)) 330 30 30], 'ValueChangedFcn', _________);
Where I put the underscores is where I'm having trouble, as while I can make a function for a single text field, I'm getting errors left and right trying to create said function. The function is supposed to read what's in the editfields and output it to an array None of the documentation that i've read on the uieditfield shows how to create this function when the editfield is generated by a loop.