Getting ltiplot error using control functions
1 view (last 30 days)
Show older comments
I consistently get the following error when doing any of the control system functions (I've got R2014a). Here is a typical example using rlocus.
EDU>> h = tf([2 5 1],[1 2 3]);
EDU>> rlocus(h)
Error using DynamicSystem/rlocus (line 65)
Undefined function 'ltiplot' for input arguments of type 'cstprefs.tbxprefs'.
Any hints as what to do here? Thanks.
4 Comments
Star Strider
on 25 May 2014
If you have Win 7, do a search for ‘ltiplot’ from ‘Start’. In Win 8, you have to open File Explorer to do the same search. (If you have a Mac, I have no idea what to suggest.) If you installed it, you need to find out if it exists anywhere, and if so where it is so you can set your paths accordingly.
Good luck!
Craig
on 28 May 2014
The ltiplot.m file should be located at matlab\toolbox\shared\controllib\graphics\utils\ltiplot.m
Does this directory or file exist in your installation?
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!