フィルターのクリア

facing problem in using DLL file in MATLAB app and communication with instrument

2 ビュー (過去 30 日間)
shahban
shahban 2022 年 12 月 16 日
編集済み: Harshit Saini 2022 年 12 月 19 日
How and where to add .DLL files in MATLAB GUI APP code. I am making a software to run the Elliptic Thorlab 14k motor. Please also guide me about how can I communicate with this instrument.

採用された回答

Harshit Saini
Harshit Saini 2022 年 12 月 19 日
編集済み: Harshit Saini 2022 年 12 月 19 日
I understand that you are facing issue while including the .DLL files to control the Elliptic Thorlabs 14k Motor in MATLAB.
To interface the Thorlabs’ ELL14K Motor with MATLAB, you need to download the DLL files from the components website and place them inside a directory which you can refer to later.
I see from Thorlabs’ website that they provide .NET APIs. Refer to the link below to understand how to call external functions from MATLAB.
You will need to use the following command to make .NET Assembly visible to MATLAB
>> asmInfo = NET.addAssembly(globalName)
Refer to Carlo Vinchi’s response in the MATLAB Answers thread below to guide you on how to interface the motor.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by