How to fix a get sort row error?

1 回表示 (過去 30 日間)
JFz
JFz 2017 年 7 月 20 日
コメント済み: JFz 2017 年 7 月 24 日
I run a matlab based application with out any problem on my computer. But when I run the same app on a colleague's computer, I get this error:
Jul 20, 2017 2:37:01 PM com.microsoft.sqlserver.jdbc.AuthenticationJNI <clinit>
WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path
Undefined function 'sort' for input arguments of type 'MException'.
Error in sortrows>sort_back_to_front (line 114)
[~,ind] = sort(x(ndx,k),'ascend');
Error in sortrows (line 89)
ndx = sort_back_to_front(x_sub, col);
Why?
Thanks in advance for any help.
  1 件のコメント
Walter Roberson
Walter Roberson 2017 年 7 月 20 日
What is class(x_sub) on each of the machines at the time of the problem?

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

採用された回答

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun 2017 年 7 月 24 日
You might have to add the Microsoft SQL Server Windows Authentication library to the javalibrarypath.txt file.
Create 'javalibrarypath.txt' in MATLAB preferences directory (Obtained by entering 'prefdir' command in MATLAB), and add the location of 'sqljdbc_auth.dll' to it as described in Step 3 of the following documentation:
  1 件のコメント
JFz
JFz 2017 年 7 月 24 日
Thank you!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by