C# Matlab Program Launcher

버전 1.2.0.0 (836 KB) 작성자: Amitabh Verma
Code to execute Matlab script or function without the requirement to launch Matlab manually.
다운로드 수: 2K
업데이트 날짜: 2010/6/6

라이선스 보기

C# Matlab Program Launcher v1.1

Amitabh Verma
amitabh@amitabhverma.com

This C# code provides a sleek loader that would execute your Matlab script or function without the requirement to launch Matlab manually. **This loader requires Matlab to be installed.**

The launcher is useful in cases where there is a Matlab GUI for visualization of data since it will hide the command window. Options exist to view the command window as well, however, the true purpose of this code is to provide a Windows executable feel.

Files included:

1. C# Matlab Program Launcher v1.0 (C# source code)
Matlab Interface Library by Emanuele Ruffaldi (EngMATLib.cs included in program build from v1.1 instead of dll)
2. Example using the C# Launcher - Image Patch Tool (http://www.mathworks.com/matlabcentral/fileexchange/25111-imagepatchtool)
4. some_bat_file.bat // bat file to load any drivers (optional)

Howto:

1. Download (free version) C# from http://www.microsoft.com/express/Downloads/#2010-Visual-CS)
2. Open Matlab Envelope.csproj in C# and Build using Shift+F6
3. Copy ImagePatchTool.exe to the Example/ImagePatchTool folder
4. Run the Matlab script ImagePatchTool.m using the loader ImagePatchTool.exe without the need to run Matlab

To link your Matlab GUI the only modification required are:

1. Adding the following line to the _OpeningFcn in your m-file
ImagePatchTool = guihandles(); % Link for C# loader

2. Editing the name of the m-file in the C# code

인용 양식

Amitabh Verma (2024). C# Matlab Program Launcher (https://www.mathworks.com/matlabcentral/fileexchange/27654-c-matlab-program-launcher), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기
도움

받음: ImagePatchTool

Community Treasure Hunt

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

Start Hunting!

C# Matlab Program Launcher/Example/ImagePatchTool/

버전 게시됨 릴리스 정보
1.2.0.0

Simpler compiling process. Corrected some references. Edited Howto for changes in version 1.1.

1.0.0.0