how to transform this code to guide

1 view (last 30 days)
in order to allow to an app crated using appdesigner to save the results to workspace i did this
prompt = {'Choose the output (matrix) name'};
answer=inputdlg(prompt);
try
if ~isempty(answer{1})
assignin('base',answer{1},Bd1 );
end
catch
end
the question is if i want to create a boutoun which do the same thing but this time using guide and not appdesigner what shoud i change ?

Accepted Answer

Walter Roberson
Walter Roberson on 25 Apr 2019

More Answers (0)

Categories

Find more on Migrate GUIDE Apps 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!