Installed package is not working

8 views (last 30 days)
Samara
Samara on 16 Oct 2024
Answered: Steven Lord on 16 Oct 2024
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!

Answers (1)

Steven Lord
Steven Lord on 16 Oct 2024
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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!