Engineer with the Pros

MATLAB + Simulink

SystemsApplies to all Kubuntu
Verified on26.04, 24.04
Focus ModelsAll
Tackle complex math and design problems with Matlab and Simulink.

Tackle complex math and design problems with Matlab and Simulink.

Run the industry-standard MATLAB and Simulink on Kubuntu Focus systems.

MATLAB and Simulink were tested with versions R2024b (Kubuntu 24.04) and R2026a (Kubuntu 26.04). Despite some minor visual differences, the steps below work for both versions.

Please read the disclaimer before proceeding. We review and update guided solutions regularly. If you have suggestions or requests, please write support@kfocus.org.

Run MATLAB and Simulink

Step 1: Log into MathWorks

Sign in to MathWorks to download and install MATLAB. Click Install MATLAB at the top right.

Step 1: Login to Mathworks

Step 1: Login to Mathworks

Step 2: Download the Zip Archive

Click [ Download for Linux ] to download the MATLAB zip archive. This takes around 10 seconds on a 500 Mbit/s connection.

Step 2: Download the Zip Archive

Step 2: Download the Zip Archive

Step 3: Unzip the Archive and Install

Unzip the archive and run the installer.

cd ~/Downloads; mkdir work; cd work; unzip ../matlab_R*.zip; ./install
Step 4: Sign in to MathWorks

The MATLAB installer appears. Sign in with your email address.

Step 4: Sign in to MathWorks

Step 4: Sign in to MathWorks

Step 5: Enter Your Password

Enter your password to sign in to MathWorks and begin installation.

Step 5: Enter Your Password

Step 5: Enter Your Password

Step 6: Review License Agreement

Read the MathWorks software license agreement and accept if you agree to the terms.

Step 6: Review License Agreement

Step 6: Review License Agreement

Step 7: Select Your License

Select your license or activation key.

Step 7: Select Your License

Step 7: Select Your License

Step 8: Confirm Details

Confirm your name, email address, and login name.

Step 8: Confirm Details

Step 8: Confirm Details

Step 9: Select Destination Folder

Select the destination folder for MATLAB output. The default is /usr/local/MATLAB/<release_code>. We recommend you set up a local user directory as shown here. Replace /home/user with your $HOME path.

Step 9: Select Destination Folder

Step 9: Select Destination Folder

Step 10: Select Products

Select which products to install. We recommend MATLAB and Simulink to start.

Step 10: Select Products

Step 10: Select Products

Step 11: Select Other Options

Create symbolic links to MATLAB scripts. We recommend your $HOME bin directory, e.g. /home/<user>/bin.

Step 11: Select Other Options

Step 11: Select Other Options

Step 12: Confirm Selections

Review the selections and ensure that they are correct.

Step 12: Confirm Selections

Step 12: Confirm Selections

Step 13: Start Installation

MATLAB and other selected products install in about 3-5 minutes.

Step 13: Start Installation

Step 13: Start Installation

Step 14: Complete Installation

The installation is complete. A directory called MATLAB is created.

Step 14: Complete Installation

Step 14: Complete Installation

Step 15: Run MATLAB

Move the matlab executable into the Simulink directory. Use the CLI to start MATLAB.

cd MATLAB/bin; mv matlab ../simulink; cd ../simulink; ./matlab
Step 15: Run MATLAB

Step 15: Run Matlab

Step 16: Open Simulink

Open Simulink from the panel at the middle of the top panel.

Step 16: Open Simulink

Step 16: Open Simulink

Step 17: Start Simulink

The Simulink start page appears and prompts you to select a template or open a file. Choose the latter.

Step 17: Start Simulink

Step 17: Start Simulink

Step 18: Select Simulink Model

Use a model from the directory MATLAB/examples.

Step 18: Select Simulink Model

Step 18: Select Simulink Model

Step 19: Open Simulink Model

Open the file to view the model of an automatic transmission. To begin data collection, click the data inspector in the top panel.

Step 19: Open Simulink Model

Step 19: Open Simulink Model

Step 20: Start Data Inspector

The data inspector appears and gives you an overview of how to use it. Close the overview.

Step 20: Start Data Inspector

Step 20: Start Data Inspector

Step 21: Run Simulink Model

Click run in the panel.

Step 21: Run Simulink Model

Step 21: Run Simulink Model

Step 22: Open Data Inspector

Open the data inspector to review your results.

Step 22: Open Data Inspector

Step 22: Open Data Inspector

Step 23: Inspect Results

After the test is done, the data appears in the inspector. Click the checkboxes to show the information.

Step 23: Inspect Results

Step 23: Inspect Results

Step 24: Finish

Congratulations! You have now successfully run an example model in Simulink.

Step 24: Finish

Step 24: Finish

Troubleshooting

Content will be added as needed.

Revisions

This is a partial revision history. See the git repository for all entries.

Disclaimer

We try hard to provide a useful solution validated by professionals. However, we cannot anticipate every situation, and therefore cannot guarantee this procedure will work for your needs. Always backup your data and test the solution to determine the correct procedure for you.

THIS SOLUTION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOLUTION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

HAVE QUESTIONS?Call 844-536-2871 or write
TellMeMore@kfocus.org   |  GET FOCUS MERCH