how to return the value to workspace after user select item in pop-up menu
Show older comments
hi, i want to return the value to workspace, when i select the specific item in pop-up menu, how to store it in the workspace.

3 Comments
Stephen23
on 25 May 2024
Rather than magically making data appear in another workspace using e.g. ASSIGNIN, a much better approach is to simply return the required value as an output argument and use WAITFOR.
wenchao zhang
on 25 May 2024
Edited: wenchao zhang
on 25 May 2024
Stephen23
on 26 May 2024
define the output argument in the main function or in the callback function?"
From the main function.
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands 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!