O'Reilly logo

MATLAB For Dummies by John Paul Mueller, Jim Sizemore

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11

Importing and Exporting Data

In This Chapter

arrow Obtaining data from other sources

arrow Outputting data to other recipients

arrow Interacting with image data

An application isn’t of much use if it can’t interact with data — in the case of MATLAB, the variables, formulas, scripts, functions, and plots that you create. In fact, even applications that you might think have nothing to do with data manage quite a lot of it. For example, you might be tempted to think that games don’t work with data, but even the lowliest Solitaire game saves statistics, which means that it interacts with data. So you can easily see that most applications interact with at least their own data.

Larger, more complex applications, such as MATLAB, also need some method of interacting with data from other applications. For example, you may need to use Excel data from a buddy to perform a calculation. If MATLAB didn’t provide a means to access that data, to import it into MATLAB, you couldn’t use it to perform the calculation.

After you complete the calculation, you may need to send it back to your buddy, but the only application available at the other site is Excel. Now you must export the data from MATLAB into ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required