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

Answers (2)

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 Comments

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
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.
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
I do not have a dll file -- I am not running MS Windows.
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?

Sign in to comment.

catur suharinto
catur suharinto on 16 Jan 2024
Edited: Walter Roberson on 16 Jan 2024

5 Comments

can i combine it with matlab sir? because i need matlab on that job
Yes, you can combine it with MATLAB, by using system() or System.Diagonstics.Process
Of course, make sure your Matlab is running as administrator
okay thank you so much sir, i will try it
hay sir, can i make this code into GUI?
can you help me to do that?

Sign in to comment.

Asked:

on 4 Jan 2024

Commented:

on 22 Jan 2024

Community Treasure Hunt

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

Start Hunting!