Effacer les filtres
Effacer les filtres

Use C# to open full desktop application

6 vues (au cours des 30 derniers jours)
Brian
Brian le 3 Avr 2022
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.

Réponses (1)

Jorge Quiroz
Jorge Quiroz le 21 Avr 2022

Catégories

En savoir plus sur Write COM Applications to Work with MATLAB dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by