locked the computer using matlab

1 Ansicht (letzte 30 Tage)
venkat vasu
venkat vasu am 29 Jun. 2013
Hi...
I'm working image processing application like continuous log in authentication project in that i need to lock the system using matlab can anyone give me a good link plz..
Thanks in advance...
  1 Kommentar
Walter Roberson
Walter Roberson am 29 Jun. 2013
This would be operating-system specific.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

per isakson
per isakson am 29 Jun. 2013
Bearbeitet: per isakson am 29 Jun. 2013
On Windows see: Changing Computer State
Locking a Computer
The only way to lock a computer directly with the standard available tools is
to call the LockWorkstation() function in user32.dll:
Put together a call with the Matlab function, system
See: How to lock your computer using command line. This might do the trick
system('rundll32.exe user32.dll, LockWorkStation')
Or Google will help you find something better.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by