Getting ltiplot error using control functions

1 view (last 30 days)
James
James on 22 May 2014
Commented: Craig on 28 May 2014
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
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
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?

Sign in to comment.

Answers (0)

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!