How do you get multiple outputs from a function and use them in GUI

I'm wondering how to get an output/variable from a function and then displaying them in certain places in a GUI. This part is after the user has chosen a procedure.
switch str2{val2}
case 'LU Decomposition'
set(handles.uipanelGroup,'Title','LU Decomposition');
X = get(handles.editMatA,'String');
Y = get(handles.editMatB,'String');
table = LUDecomposition(X,Y);
fprintf(table);
uitable('Position',[50,9,171],'Data',table,'ColumnName',fprintf);
end
The LU function will solve for 4 variables and I want to display them separately. How will I get the outputs? and how can I display them?

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Asked:

on 1 May 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!