Stuart’s MATLAB Videos

Watch and Learn

Posts 31 - 40 of 448

Results for: Format: Video

Debugging Example: Why is my data not being filtered correctly? 1

Some data in my MATLAB function is not being filtered out as it should be. I will need to determine why, by doing some investigating, stepping through my code and analyzing the variable values at… read more >>

Adding a Cell Selection Callback to a Table in My MATLAB App

Here, I add a cell selection callback to a table in one of my MATLAB apps by copying this functionality from another app.
Features covered in this code-along style video include:

App… read more >>

Run/Continue to Here in the MATLAB Editor

The “Run/Continue to Here” button in the MATLAB Editor, lets you jump to a future spot in your code in one click and without setting a breakpoint. This replaced the “Run to… read more >>

Modifying My App to Handle an Old Data Set Used in a Test Case

The unit tests for my web app have failed because I added a new variable to my data set. Rather than re-design my tests I’ve decided to take the lazy way out for now and update my app to ignore… read more >>

Adding Another Column to a Table in my Web App

Here I am going to try and add an additional column to a table in my web app. Its been more than a year since I worked on this app, so I need to first find where in my code I do the table… read more >>

Refactoring Some of My Code into a Local Function 2

Here I try to move a chunk of code into a local function, so I can re-use it multiple times, which is always a good thing to do.
Features covered in this code-along style video… read more >>

Renaming a Function in a MATLAB Project

Here I want to rename one of my functions. Traditionally, this would involve manually updating any references to the function in my code base with a multi-file find and replace. Luckily, the function… read more >>

Upgrading One of My Functions to Use an arguments Block and String Arrays 1

I’ve upgraded a function that I often use with some features introduced in recent releases of MATLAB. This includes an arguments block, and using strings instead of cell arrays of character… read more >>

Using a pattern Object To Match URL Strings

I need to determine which URL strings in a big array match a certain pattern. Here I will use the recently released pattern object and functions, and show how it can be simpler than using regular… read more >>

Intervening to Save a Program Stuck in a Loop

Here, one of my MATLAB programs appears stuck in a loop. I don’t want to quit it, as I will lose the work it has carried out so far. So I’m going to see if I can pause it and modify the… read more >>

Posts 31 - 40 of 448