How to use the same input from a different function?

1 view (last 30 days)
Say that i have two different function both in two different pushbutton, A and B. In A, I will get 2 images as input. Later in B, i want to use the same 2 images I chose in A. Can i use set&get ? If yes, how to do the statement?
Thank you.
  3 Comments
coolcoolcoolcoolcool
coolcoolcoolcoolcool on 24 Dec 2019
I tried the global variable and it works ! I put global variable to every fxn that requires to call back the input :) Thank you Mr Pratik and Image Analyst !

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox 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!