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!

Antworten (1)

Steven Lord
Steven Lord am 16 Okt. 2024

0 Stimmen

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

Kategorien

Produkte

Version

R2024a

Gefragt:

am 16 Okt. 2024

Beantwortet:

am 16 Okt. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by