# Matlab

### From NA-Wiki

(Difference between revisions)

m |
|||

Line 15: | Line 15: | ||

* [[Expanding a struct of variables]] into the caller environment. | * [[Expanding a struct of variables]] into the caller environment. | ||

* [[Parsing arguments]] into a struct | * [[Parsing arguments]] into a struct | ||

+ | * [[Running MATLAB scripts in batch mode]] | ||

== Links == | == Links == |

## Latest revision as of 15:43, 25 January 2010

## Howtos in Matlab

- How to: Make movies that use compression and how to print to image files
- How to: Generate documentation for matlab programs with many files.
- How to: Write .mat files from C using MatIO.

## General Matlab topics

- Some notes on Efficient Matlab Programming
- The Matlab Editor: Debugger, MLint etc. Think twice about using Emacs for m-files!
- Functions returning handles to subfunctions
- Extracting fields from struct arrays into matrices
- Progress indication using carriage return
- Working with sets using logical arrays
- Expanding a struct of variables into the caller environment.
- Parsing arguments into a struct
- Running MATLAB scripts in batch mode

## Links

- The Matlab Central File Exchange.
- Blog, "Loren on the Art of MATLAB", by Loren Shure.