Installed package is not working

I downloaded the controls and systems package and it shows installed in my app manager, however when I type ver 'controls' into the command window, it says it cannot find anything named 'controls.' I'm wondering how to ammend this as I would like to use the tf function. I have already uninstalled and reinstalled the package with no fix. Thanks in advance!

回答 (1 件)

Steven Lord
Steven Lord 2024 年 10 月 16 日

0 投票

In order to see Control System Toolbox in the output of ver, specify 'control' (singular) instead of 'controls' (plural).
ver controls
------------------------------------------------------------------------------------------------- MATLAB Version: 24.2.0.2754538 (R2024b) Update 1 MATLAB License Number: 40912989 Operating System: Linux 5.15.0-1062-aws #68~20.04.1-Ubuntu SMP Wed May 1 15:24:09 UTC 2024 x86_64 Java Version: Java 1.8.0_292-b10 with AdoptOpenJDK OpenJDK 64-Bit Server VM mixed mode -------------------------------------------------------------------------------------------------
Warning: No properly formatted Contents.m file was found for toolbox 'controls'.
ver control
------------------------------------------------------------------------------------------------- MATLAB Version: 24.2.0.2754538 (R2024b) Update 1 MATLAB License Number: 40912989 Operating System: Linux 5.15.0-1062-aws #68~20.04.1-Ubuntu SMP Wed May 1 15:24:09 UTC 2024 x86_64 Java Version: Java 1.8.0_292-b10 with AdoptOpenJDK OpenJDK 64-Bit Server VM mixed mode ------------------------------------------------------------------------------------------------- Control System Toolbox Version 24.2 (R2024b)
To check if the tf object from that toolbox is available, ask which.
which tf
/MATLAB/toolbox/control/ctrlmodels/@tf/tf.m % tf constructor

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2024a

質問済み:

2024 年 10 月 16 日

回答済み:

2024 年 10 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by