update:
tried using...
system(['wget --auth-no-challenge --user=', userId, ' --password=', password, ' ', pageLink])
which started to feel like a step in the right direction... but I get:
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\Gow/etc/wgetrc
--2020-07-22 13:00:05-- https://www.mathworks.com/matlabcentral/cody/groups/345/problems/15-find-the-longest-sequence-of-1-s-in-a-binary-sequence/solutions/new
Resolving www.mathworks.com... 00.00.00.000
Connecting to www.mathworks.com|00.00.00.00|:443... connected.
ERROR: cannot verify www.mathworks.com's certificate, issued by `/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA':
Unable to locally verify the issuer's authority.
To connect to www.mathworks.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
where 00.00.00.000 is (potentially) an IP address that I censored since I'm not sure what its significance is