Posts Tagged ‘set’
A GUI to Set Simulink Model Parameters
About the Simulink Model Parameters Example
This example illustrates how to create a GUI that sets the parameters of a Simulink® model. In addition, the GUI can run the simulation and plot the results in a figure window. The following figure shows the GUI after running three simulations with different values for controller gains.

The example illustrates a number of GUI building techniques: Read More
Tags: Click here to add the example files to the MATLAB path, Click here to copy the files to your current folder, Click here to display the GUI code file in the MATLAB Editor (read only), Click here to display the GUI in the GUIDE Layout Editor (read only), click here to open the code file in the Editor, click here to open the FIG-file in GUIDE, Click here to run the f14ex GUI, Enable, find_system, gui, GUI building, guidata, HandleVisibility, IntegerHandle, legend, list box, matlab, model, model_open, open_system, parameters, Parent, plot, set, set_param, sim, simulink, str2double, web, which
Matlab Plot Objects
A number of high-level plotting functions create plot objects. The properties of plot objects provide easy access to the important properties of the core graphics objects that the plot objects contain. Read More
Tags: area, areaseries, bar, barseries, contour, contourgroup, Core Graphics Objects, errorbar, errorbarseries, Graphics, graphs, hggroup, hgsave, hgtransform, lineseries, matlab, mesh, Objects That Can Contain Other Objects, patch, peaks, plot, Plot Objects, plot3, plotting, quiver, quiver3, quivergroup, scatter, scatter3, scattergroup, set, stairs, stairseries, stairstep, stem, stem3, stemseries, surf, surfaceplot
Implementing a Set/Get Interface for Properties
The Standard Set/Get Interface
The MATLAB Handle Graphics system implements an interface based on set and get methods. These methods enable you to set or query the value of graphics object properties. The hgsetget subclass of the handle class provides implementations of these methods that your class can inherit to provide the same set and get functionality. Read More