Error while using load library

1 回表示 (過去 30 日間)
Melwin Thomas
Melwin Thomas 2018 年 7 月 12 日
編集済み: priyanshu chhabra 2020 年 4 月 12 日
Hi,
I defined the path for the library in the excel sheet. And I called it. And I mentioned the part of my code below for you to get an idea.
Par.ChipLibrary_Ind = Par.TestSummary{4,16};
Par.ChipLibrary = Par.TestSummary(Par.ChipLibrary_Ind:Par.ChipLibrary_Ind,1:2);
if (libisloaded(Par.ChipLibrary{1,1}))
unloadlibrary(Par.ChipLibrary{1,1});
end
loadlibrary(Par.ChipLibrary{1,1})
So basically Par.ChipLibrary{1,1} contains the name of the library. And the first 2 lines of the code mentions the path.
But when I run this code, I get this error, stated below.
"Error using loadlibrary
There was an error loading the library "MDR"
Undefined function or variable 'MDR_proto'."
MDR is the name of the library.
Appreciate it, if anyone could help me resolve this.
Thank you.
  5 件のコメント
Melwin Thomas
Melwin Thomas 2018 年 7 月 12 日
I don't know if I can do that(Company policies :(). But I tried to run the code in 2015b, it works fine. It's not working in 2016b.
priyanshu chhabra
priyanshu chhabra 2020 年 4 月 12 日
編集済み: priyanshu chhabra 2020 年 4 月 12 日
I'm having same problem. did you ever get to solve it. help me out. thanks in advance

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by