How can I use visdiff correctly?

5 ビュー (過去 30 日間)
Charlie
Charlie 2012 年 8 月 27 日
Hi,
I am trying to use visdiff to compare different version of a code. The script fails with an error.
If I use the GUI dialogue, I get the error:
Undefined function 'comparisons_private' for input arguments of type 'com.mathworks.comparisons.source.impl.LocalFileSource'.
or if I use the command
visdiff('river_reduced_gravity.m','temporary_2012_08_24_reduced_river_gravity_recheck.m')
I get the error:
Undefined function 'comparisons_private' for input arguments of type 'char'.
What am I doing wrong?
Thanks, Charlie

採用された回答

Friedrich
Friedrich 2012 年 8 月 27 日
Hi,
sounds like a messed up ML search path. Try running:
restoredefaultpath;
matlabrc
After that try again. Normally the comparisons_private is a function shipped with MATLAB:
>>which comparisons_private
C:\Program Files\MATLAB\R2012a\toolbox\shared\comparisons\comparisons_private.m

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDebugging and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by