Simulink 2020 problem with the sintaxis of transfer function

4 次查看(过去 30 天)
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

回答(3 个)

Nikhil Sonavane
Nikhil Sonavane 2020-4-15
编辑:Nikhil Sonavane 2020-4-15
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 2021-7-17
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 2022-1-1
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by