- Open a terminal window.
- Navigate to the folder where the installation file for Simscape is located.
- Type the following command and press Enter: sudo ./<installer_filename>.sh
- Enter your password when prompted.
- Follow the on-screen instructions to complete the installation.
How do I install apps on linux as a student
10 views (last 30 days)
Show older comments
I have matlab installed on my pc using a student license, which means it required a user to be selected, of course I am using my normal user as I don't want matlab to have root priveleges however when installing apps this has issues and does not install because of permissions is there anyway to have 2 users allowed to have root priveleges when I need to install something
I am using Ubuntu 22.04LTS - trying to install simscape at this point in time in R2022b
I did use chmod 777 on MATLAB's folder but then when I commenced the install it started but crashed and I got the very informative error of "Something Unexpected Occurred"
0 Comments
Answers (1)
Adithya
on 3 Mar 2023
It is generally not recommended to give a non-administrator user account root privileges, as it can lead to security vulnerabilities and may cause unexpected behavior. Instead, you can try using the "sudo" command in the terminal to run the installation with root privileges.
Here's how you can install Simscape with root privileges using sudo:
Make sure to replace <installer_filename> with the actual name of the installer file for Simscape.
If you continue to experience issues with the installation, it may be helpful to check the installation log for any error messages. You can typically find the installation log in the installation folder or in a temporary folder.
See Also
Categories
Find more on Introduction to Installation and Licensing 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!