'tf' stop to be recognised

I am a TA for a university class and today, the function 'tf' stopped being recognized on the school's computer during a class. It worked before. The function call works on other computers.
Any call of tf (such as 'tf(1)' or 'tf([1],[1 0 0])') causes:
Error using tf
The class 'tf' contains a parse error, cannot be found on MATLAB's path, or is shadowed by another file with the same name.
'which tf' returns the correct path. I do not see any other file named tf.
'ver' shows that the control toolbox is installed.
Thanks,

3 件のコメント

dpb
dpb 2015 年 2 月 6 日
Have you tried
  1. clear tf
  2. restart Matlab on the offending machine
Is this local or networked install?
C.Blouin
C.Blouin 2015 年 2 月 6 日
Thanks, I will try clear tf, although I tried to restart Matlab. It is a network install.
dpb
dpb 2015 年 2 月 6 日
You can also without restart use
rehash toolbox
rehash toolboxreset
to force the toolbox path and also any aliasing functions to be refreshed.
doc rehash % for details

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2015 年 2 月 6 日

コメント済み:

dpb
2015 年 2 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by