logo for matrixlab-examples.com
[?] Subscribe To This Site

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines


Home
Welcome Matrixmania Blog
-> Sitemap / Search <-
-> Books <-
Forums and Help
Contact
Basics Quick Matlab Guide
Matlab Tutorial
Matlab Examples
Matlab Flow Control
Boolean Logic
Plots and GUI Matlab 2D Plots
Matlab 3D Plots
Matlab GUI
Applications Calculus
Linear Algebra
Matlab Cookbook I
Matlab Cookbook II
Electrical Calculations
Probability and Stats
Finance Apps
Other Relevant Links
Notes on Computing
Online Calculators
Fun!
Your own Website?
Terms/Policies
Scilab
leftimage for matrixlab-examples.com

Writing a Matlab Program

This quick video tutorial will show you how to write and run a Matlab program.
 
The command window can take individual commands, one at a time. However, you can create complex Matlab code (m-files or scripts), using the editor window.

You can save and run the lines of code using the icons at the top of the editor window. Also, you can edit your script just as it's done in any text editor. It’s important to be aware of the current directory, so that you can locate your files. You may modify your path so that Matlab can find your programs.


The video also shows how to create functions. One function has input parameters and can also call by name other functions or scripts, so that you can produce clean and well structured multi-function scripts.




 From 'Matlab Program Video' to home

 From 'Matlab Program Video' to 'Tutorials Menu'
 
Using Matlab

Matlab code

Top




footer for matlab program video page