Chapter 12
Working with Live Functions
IN THIS CHAPTER
Understanding the Live Function difference
Using functions to start Live Functions
Combining Live Functions with Live Scripts
Chapter 11 discusses Live Scripts, which are the counterpart to scripts in MATLAB. Live Functions represent the counterpart to functions in MATLAB as well, and they embody many of the same characteristics as Live Scripts do. For example, you use the Live Editor when working with Live Functions (see the “Working with the Live Editor” section of Chapter 11 for details). However, there are significant differences between Live Scripts and Live Functions, even in the manner of creating them in the Live Editor. This chapter helps you understand where Live Functions fit in with functions and Live Scripts as part of your MATLAB development strategy.
One of the things that sets Live Functions apart from their plain function alternative is the flexibility they provide in creating reusable code. This chapter helps you understand the flexibility that Live Functions provide and demonstrates how you can move your current functions to Live Functions. More important, this chapter helps you understand whether to use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access