How to install a personnal toolbox for Matlab and simulink
35 views (last 30 days)
Show older comments
Camille
on 17 Apr 2025 at 17:09
Hello,
My school has a matlab toolbox to run matlab files and functions. For exemple i have to run a matlab file called "TD1.m". I can run this file on my school's computers because the toolbox is already installed in the computers. But when i tried to run this on my computer, it doesn't work. Matlab doesn't recognize a function called "tf".
So naturally i decided to copy and paste the toolbox from the school computers to my computer and use add-ons>Package Toolbox in matlab to install the toolbox. But it doesn't work. Matlab send me multiple errors like "Matlab is unable to monitor the toolbox for updates because the project has to many folders" or "File analysis was cancelled because the following error occured : execution of script Given_script is not supported" for multiple scripts. And eventually when i click on package, it says "Packaging failed" without saying why. Then when i close the Package Toolbox, matlab is completely crashed. I cannot run any matlab file, and i have to close it and open it again.
Please find in this link the zipped toolbox and the "TD1.m" file. The toolbox is heavy (3.5 GygaByte when unzipped). ( )
What should i do to fix this problem please ? The licence i'm using is a campus licence, could it be the problem ? I'm using R2024b matlab.
0 Comments
Accepted Answer
Walter Roberson
on 17 Apr 2025 at 17:24
Edited: Walter Roberson
on 17 Apr 2025 at 17:25
Copying a Mathworks toolbox onto a system that is not licensed for it, is illegal.
Copying a Mathworks toolbox onto a system that is licensed for it, is just a bad idea.
You should use Add-On Manager to locate the toolbox and install it if given the option to install it. If given the option to purchase the toolbox... well, that would be the legal approach.
Meanwhile, you should remove the toolbox from dropbox; you are not authorized to post it.
3 Comments
Walter Roberson
on 17 Apr 2025 at 18:01
Edited: Walter Roberson
on 17 Apr 2025 at 18:02
tf() in particular is part of the Control Systems Toolbox
Note that unless you happened to purchase the MATLAB Student Suite, that there will be a charge for installing Control Systems Toolbox (that particular package happens to be included with the Student Suite)
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!