How to change parameters value on simulink model trough GUI ?
Show older comments
Hi, I'm Wina I'm new to matlab and now learning to built an op-amp application (inverting amplifier) using GUI matlab and simulink. But i have problems on how to connect my simulink model with the GUI..?? I have 3 blocks on the simulink that i want to edit the value trough GUI there are AC Voltage Source and two Resistors and then display the output value on the GUI. Here the attachment of the file :
Thankyou very much for your help
1 Comment
Walter Roberson
on 19 Dec 2011
Your .zip contains a .fig and a .mdl -- where is the inverting.m that corresponds to inverting.fig ?
Answers (2)
Nn
on 19 Dec 2011
0 votes
Kaustubha Govind
on 19 Dec 2011
0 votes
3 Comments
Nn
on 19 Dec 2011
Nn
on 20 Dec 2011
Kaustubha Govind
on 20 Dec 2011
You can use set_param to set parameter values as per your GUI, and then use sim to run the simulation. Please follow the documentation and post back if you run into specific issues. It is a little unreasonable to expect forum contributors to download files, because we do this in our spare time.
Categories
Find more on MATLAB 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!