Stuart’s MATLAB Videos

Watch and Learn

Posts 71 - 80 of 152

Results for: Code-Along

Using clearvars

When working on a script, I often want to clear all the variables in my workspace except for very large ones that would be a pain to import again. clearvars does the trick. It’s like clear, but… read more >>

I Need to Replace the Checkbox in My MATLAB App with Radio Buttons 2

The MATLAB app I’m currently working on has a checkbox to let the user select between two options for the behavior of the app. I want to now allow three options, so I plan to remove the check… read more >>

Dynamically Adding Components to My MATLAB App 1

I want to add and remove user interface components on the fly in the MATLAB App that I have made with App Designer. Specifically, I want the number of tabs in a tab group to change based on the data…. read more >>

Passing Parameters to Apps Built with App Designer 1

I need to figure out how to pass a parameter to a MATLAB App that is built with App Designer. In this case, I want to pass a parameter to a MATLAB Web app, but since making the video I have found out… read more >>

Editing (Another) Function While Stopped at a Breakpoint 3

I find myself needing to update one of my functions that takes a while to run, in this case, to replace the contents of a large string array depending on certain criteria. I want to have the data… read more >>

Saving State in a WindowButtonMotionFcn Callback

I need to display some text information when I hover over the nodes in my graph plot. I’m going to use a text object, updated via the WindowButtonMotionFcn property of the figure, but I need to… read more >>

Counting the Frequency of Parameters in a Set of URLs 1

Here I need to know how often different parameters occur in a large list of URLs. I’m not usre if I should use the matlab.net.URI class or just use string functions.
Features covered in this… read more >>

Using detectImportOptions with Large Text Files

Yesterday, I was loading a CSV file of about 1 million rows and 300 columns, comprising lots of string variables. It took a while to load, then I remembered I only needed 1 or 2 columns and how… read more >>

My Web Scraping App: Adding a Single-Match Pattern

Now I want to add a second regex pattern that will only match once per page and display what it finds in the results. This would let me, for example, extract the language of each page and display it… read more >>

My Web Scraping App: Only Get HTML Content if Page List Changes

Currently, my (small scale) web scraping app reads the HTML content of the list of pages, then searches for pattern matches.
I want to change it, so that it only reads the HTML content if the list of… read more >>

Posts 71 - 80 of 152