Stuart’s MATLAB Videos

Watch and Learn

Posts 1 - 10 of 161

結果: Code-Along

Categorizing Favorites on the Quick Access Toolbar

I recently remembered that you can categorize your favorites on the Quick Access Toolbar. This lets you fit in lots more. If you are not familiar with this, I will show you how here. Also, if you… 続きを読む >>

Implementing a Lock File with Help from ChatGPT

I have a utility that lets me save random metrics about various systems and processes to a spreadsheet. This utility is called from many systems that run concurrently and sometimes there can be… 続きを読む >>

Manually Modifying Data in Running Code

In a previous blog video, I manually paused my code and changed the value of a variable, in order to change the behavior of my code. This time, my code has stopped at a keyboard command and I want to… 続きを読む >>

Using the Coverage Report to Help with App Testing

I’ve created quite a few unit tests for one of my MATLAB apps, but I’m not sure if I’m testing all it’s functionality. That is where the Coverage Report comes in. I’m… 続きを読む >>

Investigating and Fixing a Bug in My Web App

My colleague told me that one of the web apps that I maintain for internal use has stopped working. So I want to investigate the issue and try and fix it. I thought I would show you my typical… 続きを読む >>

Trying to Reduce the Starting Time of My App

My app takes a while to start because it has to load a good amount of data from a database, then analyze it before its ready to be used. I have an idea of how to speed this up, so I’m going to… 続きを読む >>

Sending Myself a Notification When a Token is About to Expire

I often use tokens and other types of authentication to access web resources. There is one I use where the authentication expires after 1 year, and I’m often taken by surprise by this. So I… 続きを読む >>

Creating a Simple Function with Test Script

I need to create a simple function to do some string processing in one of my web apps. I thought I would try and show you a typical process of developing the algorithm, creating the function, adding… 続きを読む >>

Example of Using the Profiler to Help Reduce the Execution Time of a Function

I have a function which analyzes the contents of a few hundred folders. Its taking several minutes to run and I use it a lot, so I want to try and make it execute faster.
I propose using the profiler… 続きを読む >>

Switching a parfor to a parfeval

I use parfor a lot when processing large amounts of data. It could be on my local machine, or it could be on a remote cluster. It is very simple to convert a for loop to a parfor loop and often you… 続きを読む >>

Posts 1 - 10 of 161