combining two functions in GUI
4 views (last 30 days)
Show older comments
hey everyone
i am doing a project using the GUI and i am trying to use the the unit step and ramp functions with a fuction, how should i combine the two functions (user input function and the unit or ramp fuction) in one function when using the scaling property for both of them?
1 Comment
Rik
on 24 May 2020
Your callback function should collect the user inputs and call the other functions, just like you would in a script. So if you want to create a GUI, make sure you have a working script first.
Answers (0)
See Also
Categories
Find more on Environment and Settings 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!