Stuart’s MATLAB Videos

Watch and Learn

Posts 1 - 10 of 23

Results for: 2018

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…

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…

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 >>

Using TCP-IP to Communicate Between Two Instances of MATLAB

Here I step through how I implemented communication between two MATLAB instances on two different machines. One MATLAB (the server) stores a 40GB data set that I want another MATLAB web app (the… 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 >>

Building a Web Server Monitoring App, Part 5: Hooking-up Some UI Controls 1

Now I have a basic working app that starts monitoring a specific server immediately. Next, I try and hookup some some UI controls correctly so I can start and stop it, and switch between… read more >>

Reading Whole Lines of Text from a File

Sometimes the text files I need to read have an irregular format, i.e. it changes row-to-row. MATLAB file reading functions that expect columns of data (e.g readtable), need a uniform format to work.... read more >>

Building a Web Server Monitoring App, Part 4: Starting with App Designer 3

Now that I’ve got most of my data processing and plotting working, I think I can start using App Designer to put it all together. I’m going to move most of the code that I have developed… read more >>

Posts 1 - 10 of 23