Undefined function 'tf' for input arguments of type 'char'.

11 ビュー (過去 30 日間)
Diogo Carvalho
Diogo Carvalho 2019 年 12 月 16 日
コメント済み: Star Strider 2019 年 12 月 17 日
Hey everyone,
so I need to do some aerospace homework. I am running R2019a.
I type in: s = tf('s') and i get the error:
Undefined function 'tf' for input arguments of type 'char'.
can someone please help me?!
Thanks so much!

回答 (1 件)

Star Strider
Star Strider 2019 年 12 月 17 日
You need to have the Control System Toolbox licensed and installed.
This:
ver('control')
will tell you if you have it. If you do, you will get something similar to:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.7.0.1261785 (R2019b) Update 3
MATLAB License Number: #####
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 17763)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
Control System Toolbox Version 10.7 (R2019b)
If you do not, a different message will appear.
The solution is to license, download and install the Control System Toolbox.
  4 件のコメント
Adam Danz
Adam Danz 2019 年 12 月 17 日
+1
Star Strider
Star Strider 2019 年 12 月 17 日
Thank you!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by