Tagged: while

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

Matlab Graphics Windows & the Figure

Figures are the windows in which MATLAB displays graphics. Figures contain menus, toolbars, user-interface objects, context menus, axes and, as axes children, all other types of graphics objects. MATLAB places no limits on the...

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

Understanding Code Analyzer Warnings

Syntax Warnings and Property Names The MATLAB code analyzer helps you optimize your code and avoid syntax errors while you write code. It is useful to understand some of the rules that the Code...

What Is Model-Based Design? Matlab Modeling Process

Model-Based Design Model-Based Design is a process that enables faster, more cost-effective development of dynamic systems, including control systems, signal processing, and communications systems. In Model-Based Design, a system model is at the center...