bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 151 - 160 of 467

Results for: Format: Video

Use strlength to Detect Zero Length Strings

You can’t use isempty to detect empty strings, as you would for character arrays. Instead you should check for strlength being equal to zero or compare with an empty character vector. See the… read more >>

You Should Turn on the “Enable data tips in edit mode” Editor Preference 7

Each time I install a new release of MATLAB, such as 2016b recently, I turn on the editor preference “Enable data tips in edit mode”. Its not on by default. Here’s why its very… read more >>

Constructing a List of Filenames Using the New String Handling Features in Release 2016b

I have a spreadsheet with a list of filenames in one column whose absolute location is defined relative to a file in another column. I want to be able to construct the absolute path for all of them… read more >>

In Which Year Did I Make the Most Posts to the MATLAB Newsgroup?

Its the 15th anniversary of MATLAB Central and it made me think about my contributions to the MATLAB community.
My first interaction was with the MATLAB Newsgroup. I wanted see when my first post was… read more >>

Modifying a Script to Track a datetime Duration Value 1

Today I’m just making a small modification to an existing script to store a variable with the saveValue function I developed a while ago. The variable is of type duration, part of the recently… read more >>

Displaying Progress Status of Long Running Script, Part 4: Display-Erase Utility 4

Sometimes when displaying the progress of a long running script, there is so much output at the command window that there is too much to scroll through or the buffer fills up and you can’t go… read more >>

Some Uses of the MATLAB Function inputname 9

Sometimes I need to display the name of a variable as a character array. This can help with the updating of variable names in code and automating the importing or exporting of multiple variables to… read more >>

Creating a MATLAB Function to Split a URL into Component Parts, Part 3 2

This code-along video is the third in a series where I’m creating a MATLAB function to split a URL into component parts. Here I update another script to make use of this new function but it… read more >>

Using try/catch in a While Loop to Repeatedly Execute MATLAB Code 3

You may be familiar with using try/catch statements to make your code robust to errors. Matt covered them in a series of posts. A try/catch statement will catch one occurrence of an error in the… read more >>

Creating a MATLAB Function to Split a URL into Component Parts, Part 2

This code-along video is the second in a series where I’m creating a MATLAB function to split a URL into component parts. Here I add more tests, return more components, and add a parameter to… read more >>

Posts 151 - 160 of 467