bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 101 - 110 of 168

Results for: Code-Along

Setting the Strings in a Table to a Constant 2

I have a table with many columns, some of which are stings. I want to set all the string values to a constant string.
Features covered in this code-along style video, which is less coherent than… read more >>

Using a Conditional Breakpoint in a for Loop

I have a for loop that is transforming my data in a way I did not expect, so I use a conditional breakpoint to stop when my data changes, helping me get closer to the cause.
Features covered in this… read more >>

Editing a MATLAB Function to Add an Another Parameter

I’m going to make some edits to another MATLAB function while stopped at a breakpoint, so the variables are available to exercise the new code. In this case, I need to update a function to take… read more >>

Editing a MATLAB Function While Stopped at a Breakpoint 3

I often will edit code while stopped at a breakpoint. This lets me have all variables available to process and test the new code. However, if you continue execution of the debug session, MATLAB will… read more >>

Trying Out inputparser 1

I’m going to try to use inputparser for the first time, to specify name-value pair parameters for my function.
Its been around for several years but I haven’t used it. Typically my… read more >>

Debugging a Failed File Import

One of my continuously running MATLAB scripts just failed and has stopped at a breakpoint (I had set dbstop if error). So I need to debug it to understand why and fix it.
Features covered in this… read more >>

Creating a Function to Format a Spreadsheet 2

I often export to Excel to share results with others. In doing so I control the format of the output with a template with column widths and heading colors that I have talked about in previous videos… read more >>

Extracting the Variable Names of a Logical Table

I have a table of logical data, with only one true in a row. I want to find the variable name (column header) for each row where the value is true.
Features covered in this code-along style video… read more >>

Making a MATLAB Script to Move a Set of Video Files Based on Content

I have a folder full of video files (MP4s) which I want to move based on their content. Specifically, if the file has no blank sections at the beginning or end I want to move it to another folder. So… read more >>

Building a Web Server Monitoring App, Part 6: UIFigureCloseRequest Callback

If you remember, my app creates a timer to control the execution of the main loop. It doesn’t however delete the timer. As a result, when you close the app, the timer is left behind which is… read more >>

Posts 101 - 110 of 168