Stuart’s MATLAB Videos

Watch and Learn

Updating My Image Size Check Function to Ignore a Class of Images

I need to update my script which checks that all the images on our web site are smaller than a max allowed size. I want to update it to ignore a class of images, however I can only determine if an image is in this particular class by inspecting the HTML tags on the page. I plan to use some functions from the Text Analytic Toolbox to help.

Features covered in this code-along style video include:

  • webread, htmlTree, findElement, getAttribute

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

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.