I solved it by using dialog and adding an callback to the button. Maybe not the simplest solution, but it is a solution which works for now :-) Anyway thank you TastyPastry!
bye
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!