A Terminal User Interface (TUI) for a Matlab application

조회 수: 1 (최근 30일)
Santtu Söderholm
Santtu Söderholm 2022년 3월 13일
편집: VINAYAK LUHA 2024년 1월 9일
Hello.
Out of curiosity, does Matlab make it possible to write a Terminal User Interface (TUI) for an application? Even interfacing with Matlab from another language to make this possible would be acceptable. I would prefer this over a Graphical User Interface for work which does not require visualizing things, as it would be simpler to do remote work via SSH and not have to bother with VNC and the like.
  댓글 수: 1
Nivedita
Nivedita 2023년 12월 8일
편집: Nivedita 2023년 12월 8일
Could you tell about the type of application? WIll it be a standalone application?

댓글을 달려면 로그인하십시오.

답변 (1개)

VINAYAK LUHA
VINAYAK LUHA 2024년 1월 9일
편집: VINAYAK LUHA 2024년 1월 9일
Hi Santtu,
I understand that you wish to build a terminal user interface for a MATLAB application.
Since the functional requirements of the application is scarce. I assume that you want to have the basic functionality of being able to interface your application with OS specific languages like shell/powershell or with any other programming language,Further you may also want to be able to call and pass parameters to MATLAB functions, retrive output from them etc.
Following are some ways to achieve the above objective:
  1. For interfacing with OS specific languages such as shell/powershell you may use the MATLAB startup options to invoke MATLAB code from shell/powershell, this works even with the MATLAB GUI disabled. More info regarding this method can be found in this documentation- https://www.mathworks.com/help/matlab/matlab_env/startup-options.html
  2. For interfacing with languages such as C/Java and Python you may use MATLAB Engine and APIs for these language, more details on how to accomplish the previous can be found in the following documentation https://www.mathworks.com/help/matlab/external-language-interfaces.html
Hope this answers your query on how to build a terminal based user interface for an application.
Regards,
Vinayak Luha

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by