How to install "mpm" command?
    45 views (last 30 days)
  
       Show older comments
    
Hello,
The Matlab R2023a was successfully installed on Debian 12 and its documents was downloads too. Follow the instruction, the command below didn't run successfully as "mpm: command not found"
mpm install-doc --matlabroot=/home/jomalley/matlab
0 Comments
Answers (2)
  Kojiro Saito
    
      
 on 3 Aug 2023
        
      Edited: Kojiro Saito
    
      
 on 3 Aug 2023
  
      There are two MPM, one is in MATLAB installation (with matlab -mpm) and the other is from GitHub. I found that mpm install-doc does not work in MATLAB and works in GitHub version.
You need the download MPM in Linux terminal.
wget https://www.mathworks.com/mpm/glnxa64/mpm
chmod +x mpm
Then, run mpm install-doc from Linux terminal.
./mpm install-doc --matlabroot=/home/username/matlab --source=/path/to/source
6 Comments
  xingxingcui
      
 on 18 Sep 2023
				so how mpm  install mathworks products on windows offine?@Kojiro Saito
  xingxingcui
      
 on 18 Sep 2023
				
      Edited: xingxingcui
      
 on 8 Mar 2024
  
			
		
  xingxingcui
      
 on 8 Mar 2024
        Note: The "mountedDocImage/bin/arch" in the offline ISO documentation image already contains the MPM executable, so there is no need to download MPM again.
Once you have downloaded the offline document ISO image, follow the steps below.
For example:
Windows:
cd mountedDocImage/bin/arch
 .\mpm  install-doc --matlabroot="C:\Program Files\MATLAB\R2024a"  --destination="C:\Program Files\MATLAB\R2024a"
Reference:
2 Comments
  appfr
 on 25 Mar 2024
				What does mpm exactly do that could cause "access denied" problems (I tried the admin mode command prompt to no avail)? I remember I had similar trouble with R2023(a/b) and somehow it ended up working if I waited with the ISO loaded as virtual CD for a few hours then retried the command..

See Also
Categories
				Find more on Install Products in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

