help rlocus function graph

6 views (last 30 days)
marco sebastianelli
marco sebastianelli on 17 Oct 2017
Edited: David Ding on 19 Oct 2017
I have matlab R2017a with academic licenze, the function rlocus, rlocusplot, don't work, don't plot the graph, but matlab don t have error.what I can do ??
  3 Comments
marco sebastianelli
marco sebastianelli on 17 Oct 2017
mi code is: h = tf([1 2 3],[4 3 5]); rlocus(h); matlab no return error, appears the figure axis X axis Y but don't plot the graph
marco sebastianelli
marco sebastianelli on 17 Oct 2017
but if use this code : h = tf([1 2 3],[4 3 5]); [R,K] = rlocus(h); message error is :Error using DynamicSystem/rlocus (line 51) Invalid MEX-file 'C:\Program Files\MATLAB\R2017a\toolbox\shared\controllib\engine\numerics\frkernel.mexw64': Missing dependent shared libraries: 'libmwslicot.dll' required by 'C:\Program Files\MATLAB\R2017a\toolbox\shared\controllib\engine\numerics\frkernel.mexw64'.

Sign in to comment.

Answers (1)

David Ding
David Ding on 19 Oct 2017
Edited: David Ding on 19 Oct 2017
Hi Marco,
I understand that the following code
>> h = tf([1 2 3],[4 3 5]); [R,K] = rlocus(h);
is giving you error in R2017a.
I was not able to reproduce this on my end in R2017a. Given the fact that the error points to a missing DLL file, your best bet would be to reinstall MATLAB and run the code again upon re-installation.
Hope this helps.
Thanks,
David

Categories

Find more on Startup and Shutdown 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!