locked the computer using matlab

1 回表示 (過去 30 日間)
venkat vasu
venkat vasu 2013 年 6 月 29 日
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 件のコメント
Walter Roberson
Walter Roberson 2013 年 6 月 29 日
This would be operating-system specific.

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

採用された回答

per isakson
per isakson 2013 年 6 月 29 日
編集済み: per isakson 2013 年 6 月 29 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by