Category: Controls

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...

Matlab GUIDE: Getting Started

Matlab Getting Started GUI Layout GUIDE, the MATLAB graphical user interface development environment, provides a set of tools for creating graphical user interfaces (GUIs). These tools simplify the process of laying out and programming...

Matlab Core Graphics Objects

Core graphics objects include basic drawing primitives: Line, text, and polygon shells (patch objects) Specialized objects like surfaces, which are composed of a rectangular grid of vertices Images Light objects, which are not visible...

Plotting Tools — Interactive Plotting

What Are Plotting Tools? The modular, interactive plotting environment called plotting tools enables you to Create various type of graphs Select variables to plot directly from a workspace browser Easily create and manipulate subplots...

Controlling Command Window Input and Output

The format Function The format function controls the numeric format of the values displayed. The function affects only how numbers are displayed, not how MATLAB software computes or saves them. Here are the different...

while

while Repeat statements an indefinite number of times. The general form of a while statement is: while expression statements END The statements are executed while the real part of the expression has all non-zero...

return

return Return to invoking function. return causes a return to the invoking function or to the keyboard. It also terminates the KEYBOARD mode. Normally functions return when the end of the function is reached....