Loren on the Art of MATLAB

Turn ideas into MATLAB

Note

Loren on the Art of MATLAB has been archived and will not be updated.

Posts 441 - 450 of 539

What Version is Being Used? 4

Sometimes it's important to have code work in multiple releases of MATLAB, while still taking advantage of new features when they exist. In recent articles, I've talked about... read more >>

Defensive GUI Programming 33

Today I want to talk a little bit about defensive programming for GUIs (graphical user interfaces) and other programs with
graphics callbacks.
 
Contents

What Can Go Wrong
Don't Depend on... read more >>

How to Safely Try Unknown Code 4

In my recent post on MExceptions, a user asked if a syntax error inside a function being called in a try/catch would get caught in older versions of MATLAB. I've done a tiny bit of... read more >>

Exceptional Behavior 18

One of the new features of MATLAB in R2007b is a more robust way to manage and reporting errors. We have found that using an MException object, instead of relying on... read more >>

Tire Rotation 8

If only rotating tires were really this easy! After graduate school, I drove east for my post-doc at Woods Hole Oceanographic Institution. In late winter, I noticed that my tires still... read more >>

A Way to Account for Missing Data 15

MATLAB has the concept of Not-a-Number, also known as NaN for quite some time. Following the IEEE 754 Standard for Binary Floating-Point Arithmetic, some floating point calculations result in NaN,... read more >>

parfor the Course 34

Starting with release R2007b, there are multiple ways to take advantage of newer hardware in MATLAB. In MATLAB alone, you can benefit from using multithreading,
depending on what kind of... read more >>

Numbered Argument Specification for Print Functions 4

Since MATLAB Release R2007a, you've been able to number the arguments for functions that format strings. With this feature,
you can refer to the values that correspond to the different arguments in... read more >>

Controlling Multithreading 31

With Release R2007b, you now have the ability to set (and get) the maximum number of allowed threads. What does this mean for you? Contents ... read more >>

R2007b is Live 20

Release R2007b is now available. Here's what's new in MATLAB. I plan to highlight some of these features, and perhaps some from related products, in upcoming posts. In addition, ... read more >>

Posts 441 - 450 of 539

These postings are the author's and don't necessarily represent the opinions of MathWorks.