The error message states that the "Simulink Control Design" toolbox is required.
Type the following in the Command Window to check if the toolbox is installed.
ver
-------------------------------------------------------------------------------------------------
MATLAB Version: 24.1.0.2697110 (R2024a) Update 6
MATLAB License Number: 40912989
Operating System: Linux 5.15.0-1062-aws #68~20.04.1-Ubuntu SMP Wed May 1 15:24:09 UTC 2024 x86_64
Java Version: Java 1.8.0_292-b10 with AdoptOpenJDK OpenJDK 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------------------
MATLAB Version 24.1 (R2024a)
Simulink Version 24.1 (R2024a)
5G Toolbox Version 24.1 (R2024a)
Aerospace Blockset Version 24.1 (R2024a)
Aerospace Toolbox Version 24.1 (R2024a)
Antenna Toolbox Version 24.1 (R2024a)
Audio Toolbox Version 24.1 (R2024a)
Automated Driving Toolbox Version 24.1 (R2024a)
Bioinformatics Toolbox Version 24.1 (R2024a)
Bluetooth Toolbox Version 24.1 (R2024a)
Communications Toolbox Version 24.1 (R2024a)
Computer Vision Toolbox Version 24.1 (R2024a)
Control System Toolbox Version 24.1 (R2024a)
Curve Fitting Toolbox Version 24.1 (R2024a)
DO Qualification Kit Version 24.1 (R2024a)
DSP System Toolbox Version 24.1 (R2024a)
Database Toolbox Version 24.1 (R2024a)
Datafeed Toolbox Version 24.1 (R2024a)
Deep Learning Toolbox Version 24.1 (R2024a)
Econometrics Toolbox Version 24.1 (R2024a)
Embedded Coder Version 24.1 (R2024a)
Filter Design HDL Coder Version 24.1 (R2024a)
Financial Instruments Toolbox Version 24.1 (R2024a)
Financial Toolbox Version 24.1 (R2024a)
Fixed-Point Designer Version 24.1 (R2024a)
Fuzzy Logic Toolbox Version 24.1 (R2024a)
Global Optimization Toolbox Version 24.1 (R2024a)
HDL Coder Version 24.1 (R2024a)
HDL Verifier Version 24.1 (R2024a)
IEC Certification Kit Version 24.1 (R2024a)
Image Acquisition Toolbox Version 24.1 (R2024a)
Image Processing Toolbox Version 24.1 (R2024a)
Industrial Communication Toolbox Version 24.1 (R2024a)
Instrument Control Toolbox Version 24.1 (R2024a)
LTE Toolbox Version 24.1 (R2024a)
MATLAB Coder Version 24.1 (R2024a)
MATLAB Compiler Version 24.1 (R2024a)
MATLAB Compiler SDK Version 24.1 (R2024a)
MATLAB Report Generator Version 24.1 (R2024a)
Mapping Toolbox Version 24.1 (R2024a)
Medical Imaging Toolbox Version 24.1 (R2024a)
Mixed-Signal Blockset Version 24.1 (R2024a)
Model Predictive Control Toolbox Version 24.1 (R2024a)
Navigation Toolbox Version 24.1 (R2024a)
Optimization Toolbox Version 24.1 (R2024a)
Parallel Computing Toolbox Version 24.1 (R2024a)
Partial Differential Equation Toolbox Version 24.1 (R2024a)
Phased Array System Toolbox Version 24.1 (R2024a)
Powertrain Blockset Version 24.1 (R2024a)
Predictive Maintenance Toolbox Version 24.1 (R2024a)
RF Blockset Version 24.1 (R2024a)
RF Toolbox Version 24.1 (R2024a)
Radar Toolbox Version 24.1 (R2024a)
Requirements Toolbox Version 24.1 (R2024a)
Risk Management Toolbox Version 24.1 (R2024a)
Robotics System Toolbox Version 24.1 (R2024a)
Robust Control Toolbox Version 24.1 (R2024a)
Sensor Fusion and Tracking Toolbox Version 24.1 (R2024a)
SerDes Toolbox Version 24.1 (R2024a)
Signal Processing Toolbox Version 24.1 (R2024a)
SimBiology Version 24.1 (R2024a)
SimEvents Version 24.1 (R2024a)
Simscape Version 24.1 (R2024a)
Simscape Driveline Version 24.1 (R2024a)
Simscape Electrical Version 24.1 (R2024a)
Simscape Fluids Version 24.1 (R2024a)
Simscape Multibody Version 24.1 (R2024a)
Simulink 3D Animation Version 24.1 (R2024a)
Simulink Check Version 24.1 (R2024a)
Simulink Code Inspector Version 24.1 (R2024a)
Simulink Coder Version 24.1 (R2024a)
Simulink Control Design Version 24.1 (R2024a)
Simulink Coverage Version 24.1 (R2024a)
Simulink Design Optimization Version 24.1 (R2024a)
Simulink Design Verifier Version 24.1 (R2024a)
Simulink Desktop Real-Time Version 24.1 (R2024a)
Simulink PLC Coder Version 24.1 (R2024a)
Simulink Real-Time Version 24.1 (R2024a)
Simulink Report Generator Version 24.1 (R2024a)
Simulink Test Version 24.1 (R2024a)
Stateflow Version 24.1 (R2024a)
Statistics and Machine Learning Toolbox Version 24.1 (R2024a)
Symbolic Math Toolbox Version 24.1 (R2024a)
System Identification Toolbox Version 24.1 (R2024a)
Text Analytics Toolbox Version 24.1 (R2024a)
Vehicle Dynamics Blockset Version 24.1 (R2024a)
Vehicle Network Toolbox Version 24.1 (R2024a)
Vision HDL Toolbox Version 24.1 (R2024a)
WLAN Toolbox Version 24.1 (R2024a)
Wavelet Toolbox Version 24.1 (R2024a)
Wireless HDL Toolbox Version 24.1 (R2024a)