Using C# functions and forms in Matlab
This script shows how C# functions/classes and forms (gui) can be used in Matlab.
The zip contains:
- a example c# class (ComMatlab.cs) with different inputs and outputs functions.
- a info_ComMatlab.txt with the commands how to compile and register a c# activex control
- a ComMatlabtest.m for testing the c# functions.
- a example c# class (MatlabGUI.cs) which creates a form for user input (uses the other MatlabGUI cs files)
- a info_MatlabGUI.txt with the commands how to compile and register a c# activex control from multiple .cs files
- a MatlabGUItest.m for testing the c# userinput Form
(The MatlabGUI Form is designed with Visual Studio 2005)
Citation pour cette source
Dirk-Jan Kroon (2026). Using C# functions and forms in Matlab (https://fr.mathworks.com/matlabcentral/fileexchange/16549-using-c-functions-and-forms-in-matlab), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Search( filetype,folderpath), How to load / call functions from a VB DLL
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 | Added C# code and matlab files for creation of a C# form for user input. And also renamed files to more logical names |
