Tagged: else

uifigure

Matlab uifigure usage fig = uifigure creates a figure for building a user interface and returns the Figure object. This is the type of figure that App Designer uses. fig = uifigure(Name,Value) specifies figure properties using one or more Name,Value pair arguments....

Matlab Live Editor

Programming and Scripts

Scripts To create a script, use the edit command, edit mysphere This command opens a blank file named mysphere.m. Enter some code that creates a unit sphere, doubles the radius, and plots the results: [x,y,z] = sphere;...

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 Class for Graphing Functions

Matlab Functions Display Fully Commented Example Code The class block is the code that starts with the classdef key word and terminates with the end key word. The following example illustrated a simple class...

Matlab Implementing Linked Lists

Displaying Fully Commented Example Code Open class code in a popup window — Use this link if you want to see the code for this class annotated with links to descriptive sections. Open class...

matlab

Example of Class Definition Syntax

Matlab Syntax Example of Class Definition Syntax The following code shows the syntax of a typical class definition. This example is not a functioning class because it references functions that it does not implement....

quit

quit Quit MATLAB session. quit terminates MATLAB after running the script FINISH.M, if it exists. The workspace information will not be saved unless FINISH.M calls SAVE. If an error occurs while executing FINISH.M, quitting...