Community Profile

photo

Stuart McGarrity


MathWorks

516 total contributions since 2005

I'm from a small town called Largs near Glasgow in Scotland. I studied for my undergraduate degree in Electronic and Microprocessor Engineering and PhD in Signal Processing at Strathclyde University. I live in Natick, MA.

Contact

Stuart McGarrity's Badges

  • First Answer
  • Solver

View details...

Contributions in
View by

Published


My Web Scraping App: Adding a Single-Match Pattern
31:11 Now I want to add a second regex pattern that will only match once per page and display what it finds in...

28 jours ago

Thumbnail

Published


My Web Scraping App: Only Get HTML Content if Page List Changes
25:58 Currently, my (small scale) web scraping app reads the HTML content of the list of pages, then searches...

environ 2 mois ago

Thumbnail

Published


Handling Multiple Match Tokens in My Web App
31:30 Now I want to modify the MATLAB app I recently made to scrape web pages, so that it can handle multiple...

2 mois ago

Thumbnail

Published


Making Improvements to My Web Page Scraping MATLAB App
38:01 I want to modify the MATLAB app I recently made to scrape web pages, so that it can handle the case where...

3 mois ago

Thumbnail

Published


Deploying My MATLAB App as a Web App
17:02 I want to turn the MATLAB App I developed recently into a web app so it is accessible from a browser. It...

4 mois ago

Thumbnail

Published


Building a MATLAB App to Extract Web Page HTML Patterns
93:06 A colleague asked if I could extract a date string from a set of MATLAB Answer pages. I’ve often needed...

4 mois ago

Thumbnail

Published


Setting the Strings in a Table to a Constant
9:52 I have a table with many columns, some of which are stings. I want to set all the string values to a...

5 mois ago

Thumbnail

Published


Using a Conditional Breakpoint in a for Loop
2:53 I have a for loop that is transforming my data in a way I did not expect, so I use a conditional...

6 mois ago

Thumbnail

Published


Editing a MATLAB Function to Add an Another Parameter
11:14 I’m going to make some edits to another MATLAB function while stopped at a breakpoint, so the variables...

6 mois ago

Thumbnail

Published


Editing a MATLAB Function While Stopped at a Breakpoint
5:57 I often will edit code while stopped at a breakpoint. This lets me have all variables available to process...

6 mois ago

Thumbnail

Published


Trying Out inputparser
20:51 I’m going to try to use inputparser for the first time, to specify name-value pair parameters for my...

7 mois ago

Thumbnail

Published


Debugging a Failed File Import
19:12 One of my continuously running MATLAB scripts just failed and has stopped at a breakpoint (I had set...

8 mois ago

Thumbnail

Published


Creating a Function to Format a Spreadsheet
33:35 I often export to Excel to share results with others. In doing so I control the format of the output with...

8 mois ago

Thumbnail

Published


Extracting the Variable Names of a Logical Table
16:09 I have a table of logical data, with only one true in a row. I want to find the variable name (column...

9 mois ago

Thumbnail

Published


Making a MATLAB Script to Move a Set of Video Files Based on Content
28:06 I have a folder full of video files (MP4s) which I want to move based on their content. Specifically, if...

9 mois ago

Thumbnail

Published


Using TCP-IP to Communicate Between Two Instances of MATLAB
16:59 Here I step through how I implemented communication between two MATLAB instances on two different...

10 mois ago

Thumbnail

Published


Building a Web Server Monitoring App, Part 6: UIFigureCloseRequest Callback
5:46 If you remember, my app creates a timer to control the execution of the main loop. It doesn’t however...

10 mois ago

Thumbnail

Published


Building a Web Server Monitoring App, Part 5: Hooking-up Some UI Controls
31:13 Now I have a basic working app that starts monitoring a specific server immediately. Next, I try and...

11 mois ago

Thumbnail

Published


Reading Whole Lines of Text from a File
29:58 Sometimes the text files I need to read have an irregular format, i.e. it changes row-to-row. MATLAB...

11 mois ago

Thumbnail

Answered
How to follow progress of a parfor-loop?
You can implement this with a data queue. See a waitbar example here: <https://www.mathworks.com/help/distcomp/send.html#bvmkkgt...

12 mois ago | 1

Published


Building a Web Server Monitoring App, Part 4: Starting with App Designer
35:15 Now that I’ve got most of my data processing and plotting working, I think I can start using App Designer...

12 mois ago

Thumbnail

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

12 mois ago

Published


Using a List of Anonymous Functions to Implement a Set of Checks on a Data Set
40:29 I need to perform a number of checks on the values in a large table. Currently I implement the checks...

environ un an ago

Thumbnail

Published


Building a Web Server Monitoring App, Part 3: Scheduling with a Timer
28:00 So far I have some charts displaying my server traffic in a while loop. Next, I think I want to execute...

environ un an ago

Thumbnail

Answered
Apply function to all fields of a structure
Take a look at structfun and arrayfun.

environ un an ago | 0

Published


Building a Web Server Monitoring App, Part 2: Plotting Streaming Data
34:06 In my last post, I worked on accessing a set of continually updating log files from a server. Here I will...

environ un an ago

Thumbnail

Published


Building a Web Server Monitoring App, Part 1: Reading Streaming Log Files
59:44 This will be one of a few posts where I work on building an app that will visualize traffic to a web...

environ un an ago

Thumbnail

Published


Using Anonymous Functions to Parameterize the Log File Analysis
34:21 Here I restructure the section of my code that filters the requests, so I can easily add any filter rule...

environ un an ago

Thumbnail

Published


What is Doug Hull Up to These Days?
Doug Hull was the founder and owner of this blog for 10 years. I talked about his contributions in my first post. Find out...

environ un an ago

Thumbnail

Published


Updating My Map Function to Handle the New Log File Format
33:46 Here I continue with my analysis of the log files of a different server. I need to modify my map...

plus d'un an ago

Thumbnail

Load more