acces and operate scanner using matlab

my sacnner canon canoscan lide 120 scanner. I want to operate the scanner through matlab specifically through the GUI. but I don't know how, can anyone help me?
thank you in advance

回答 (2 件)

Walter Roberson
Walter Roberson 2024 年 1 月 4 日

0 投票

Apparently that device has a TWAIN interface.
MATLAB does not have any TWAIN interface built in.
https://www.tegakari.net/en/2020/03/vintasoft_twain_net_sdk/ offers a .NET TWAIN interface that in theory could be called from Windows MATLAB.

5 件のコメント

rizqi basith
rizqi basith 2024 年 1 月 6 日
hay sir thank you for your answer, but i stil confuse to solve it. can you explain it more detail for me sir? i am very need about it.
i also found this video from youtube
but this use microsoft visual to execute that code because in microsoft visual provide twain toolbox. if i use matlab and write the code like that it is possible or not? thank you
Walter Roberson
Walter Roberson 2024 年 1 月 6 日
It would involve adding a .NET Assembly and invoking it
The details would depend entirely on the .NET assembly.
I do have a twain-compatible scanner here, but I am running on MacOS so I cannot use .NET assemblies.
rizqi basith
rizqi basith 2024 年 1 月 14 日
hay sir, did you have .dll file because i got problem to make that .dll file so until now i can't call it to matlab
Walter Roberson
Walter Roberson 2024 年 1 月 14 日
I do not have a dll file -- I am not running MS Windows.
rizqi basith
rizqi basith 2024 年 1 月 16 日
oh okay thank you sir, but do you know how to find reference .dll file or if you know someone who share .dll file for public?

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

catur suharinto
catur suharinto 2024 年 1 月 16 日
編集済み: Walter Roberson 2024 年 1 月 16 日

0 投票

5 件のコメント

rizqi basith
rizqi basith 2024 年 1 月 16 日
can i combine it with matlab sir? because i need matlab on that job
Walter Roberson
Walter Roberson 2024 年 1 月 16 日
Yes, you can combine it with MATLAB, by using system() or System.Diagonstics.Process
catur suharinto
catur suharinto 2024 年 1 月 16 日
Of course, make sure your Matlab is running as administrator
rizqi basith
rizqi basith 2024 年 1 月 18 日
okay thank you so much sir, i will try it
rizqi basith
rizqi basith 2024 年 1 月 22 日
hay sir, can i make this code into GUI?
can you help me to do that?

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

カテゴリ

ヘルプ センター および File ExchangeMATLAB Support Package for USB Webcams についてさらに検索

質問済み:

2024 年 1 月 4 日

コメント済み:

2024 年 1 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by