CHANGE SCRIPT CODE INTO GUI MATLAB

1 Ansicht (letzte 30 Tage)
rizqi basith
rizqi basith am 26 Jan. 2024
Kommentiert: Walter Roberson am 26 Jan. 2024
I OPERATE SCANNER WITH MATLAB AND CMDTWAIN USING THIS CODE IN SCRIPT MATLAB
status = system('CmdTwain -c "A4 600 COLOR" 100 D:\HASIL_SCAN\scankertas.jpg &');
BUT I NEED CHANGE AND USE THAT CODE INTO GUI. CAN ANYONE GIVE ME CLUE OR HELP TO MAKE GUI WITH IT?
THANK YOU
  2 Kommentare
Rik
Rik am 26 Jan. 2024
A GUI in Matlab is nothing special, it simply provides an interface between the user and the functions you write separately. For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
If you have a specific question, have a read here and here. It will greatly improve your chances of getting an answer.
Walter Roberson
Walter Roberson am 26 Jan. 2024
You will probably want to switch from using system() to using System.Diagnostics.Process -- using the .NET interface to creating processes.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Cris LaPierre
Cris LaPierre am 26 Jan. 2024
I suggest getting started by completeing the App Building Onramp. This will give you the bascs of building an app. Since you have a working script, you just need to decie how you want to spreak the execution around the different callbacks of your app.
I'd say complete the onramp, then make an attempt creating the app. The community can be much more helpful with specific questions of how to implement somethign in App Designer.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by