Stuart’s MATLAB Videos

Watch and Learn

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the Original version of the page.

Building a Web Server Monitoring App, Part 1: Reading Streaming Log Files

Posted by Stuart McGarrity,

This will be one of a few posts where I work on building an app that will visualize traffic to a web server, letting me monitor it as its being used. I plan to use App Designer, then deploy the app to the web, which was a new feature in R2018a. But before I do that, I need to figure out how to read the log files, and do it continuously as they get updated during the day.

Features covered in this code-along style video include:

  • textscan, fopen, fseek, and ftell
  • datetime functions
  • Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.

    Play the video in full screen mode for a better viewing experience.