Use C# to open full desktop application
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to use a C# application to open a full desktop version of Matlab.
I can open just a command line version of Matlab using:
MLApp.MLApp matlab = new MLApp.MLApp();
Console.WriteLine("Opening Matlab");
matlab.Execute(@"cd c:\temp\Example");
matlab.Visible = 1;
matlab.MaximizeCommandWindow();
However, this produces a simple command line interface to Matlab. It does not allow access to *.mlx Live Scripts using the Matlab Live Editor.
Instead, I'd like to open the Live Editor so I can pass the workspace data from my C# code and process that data using a Live Script in the Live Editor.
I have already reviewed the following documentation:
Neither are quite what I want to accomplish.
댓글 수: 0
답변 (1개)
Jorge Quiroz
2022년 4월 21일
Please refer to the following: How do I open desktop MATLAB from a C# application?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Write COM Applications to Work with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!