Simulink 2020 problem with the sintaxis of transfer function

조회 수: 3 (최근 30일)
Erika Molano
Erika Molano 2020년 4월 12일
답변: Mary Baran 2022년 1월 1일
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
  댓글 수: 1
Nikhil Sonavane
Nikhil Sonavane 2020년 4월 15일
Its always recommended that you add the code here as text and not as a screenshot.

댓글을 달려면 로그인하십시오.

답변 (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