Webアプリでクライ​アント側の実行ユーザ​名・PC名を取得する​方法

3 visualizaciones (últimos 30 días)
Yuki Narahara
Yuki Narahara el 18 de Oct. de 2018
Editada: Yuki Narahara el 18 de Oct. de 2018
【利用環境】
  • MATLAB 2018b
  • MATLAB Compiler
  • Web App Server
  • AppDesigner
スタンドアロンアプリから、Webアプリへの移行を検討中です。
AppDesignerで画面を作成し、ボタンをクリックすると処理を実行する仕様です。
実行ログを残す処理として、
getenv('username')
getenv('computername')
を利用して、ログファイルに  実行ユーザ名  実行PC名 を出力しています。
しかし、Webアプリの場合はどのクライアントPCから実行しても、Webアプリサーバーのユーザ名とPC名になってしまいます。
Webアプリでクライアントのユーザ名、PC名を実行ログに残すためには、どのような方法があるでしょうか?

Respuestas (0)

Categorías

Más información sobre MATLAB Web App Server en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!