Typically, those who primarily work with pure Python may encounter difficulties when learning to use Simulink at the beginning. However, by following the five simple steps outlined below, you can ensure that your model runs smoothly in Simulink.
Step 1: Assign the desired values to the variables in the Command Window, so they are available in the Workspace.
Step 2: Construct the model in Simulink using the specified blocks.
Step 3: Double-click on the "Interpreted MATLAB Function" block to input the equation.
Step 4: Set the simulation time. Given the nature of your time-delayed equation, the ideal Start time should be set to tmeal.
Step 5: Double-click on the "Scope" block to observe the response visually.