MATLAB: What’s the name of save as from workspace function

MATLABworking with files

I am wandering what's the function that MATLAB uses when we select a variable in the workspace and then click in right mouse button and choose "save as".
I need to call it to save a struct in my program when I choose save from my gui menu. I need to browse where to put the file. I will also need to load it later like the "import data" to workspace.

Best Answer

uigetfile uiputfile