What *really* is the Mathworks Service Host?

125 views (last 30 days)
f
f on 29 Nov 2024 at 21:15
Edited: f on 6 Dec 2024 at 20:30
What does the MSH really do, in practice? I already read in the answer here that it "is essential for MATLAB licensing and MATLAB startup", but that does not really explain anything. Please explain what it does from a technical standpoint.
Does it "phone home"? Does it monitor what programs I am running on my computer? Does it preload parts of Matlab?

Answers (1)

Conor Burgess
Conor Burgess on 6 Dec 2024 at 13:29
Edited: Conor Burgess on 6 Dec 2024 at 13:31
MathWorks Service Host is a collection of background processes that provide required services to MATLAB and other MathWorks products. Those services include licensing and MathWorks account login.
  • Does it "phone home"?
  • It needs to connect to MathWorks webservices to provide services to MATLAB and other MathWorks products.
  • Does it monitor what programs I am running on my computer?
  • Other than MathWorks programs, no.
  • Does it preload parts of Matlab?
  • It doesn't directly preload parts of MATLAB, but by moving some of those services out of MATLAB, they can be loaded and ready when MATLAB is started, reducing the work that needs to happen at MATLAB start up.
  4 Comments
f
f on 6 Dec 2024 at 14:35
I see what you mean, thanks. So it was a conscious choice to move these services from Matlab itself into a background service (even if it was not necessary to do it, from a technical standpoint). What is the technical reason this change was made, if I may ask?
Also, I can figure out what you mean by "Mathworks account login", but what is "licensing" exactly?
Walter Roberson
Walter Roberson on 6 Dec 2024 at 17:57
Why does MSH require so very much disk space? I have seen figures on the order of 1 gigabyte per user.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!