Simulink 2020 problem with the sintaxis of transfer function

1 view (last 30 days)
Best regards
I just downloaded MATLAB version 2020, and I coded a very simple program. The problem is that it throws the following error:
Error (line 5) s = tf ('s')
I executed the same code on other computers with MATLAB and mine is the only one where this error appears. I hope you can help me as soon as possible.
Here I attach the code

Answers (3)

Nikhil Sonavane
Nikhil Sonavane on 15 Apr 2020
Edited: Nikhil Sonavane on 15 Apr 2020
I executed your code in MATLAB 2020a and it worked perfectly fine. It seems that a toolbox containing tf function is missing. Please check if at least one of the following toolbox are installed in your MATLAB-
  • Control System Toolbox
  • DSP System Toolbox
  • Model Predictive Control Toolbox
  • Signal Processing Toolbox
I would suggest you install Control System Toolbox, if it is not already installed and proceed further.

John Shimer
John Shimer on 17 Jul 2021
Answers for the matters and questions are found for the future courses. Paths of the best online proofreading services are hit for the turns. Each side is fit for the hopeful usages for all people. The toughness is tiring for the circumstances.

Mary  Baran
Mary Baran on 1 Jan 2022
Where feasible, a fireplace is another great Las Vegas Buffet Near Me addition in the bedroom. While you may not be able to install a chimney and a genuine wood-burning hearth, you can buy a fireplace powered by natural gas.

Categories

Find more on Downloads 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!