C#, ActiveX Server
No License
Interfaces a C# generated dll to MATLAB using the COM interface. Currently the .NET platform is not supported by MATLAB as such to connect to C# requires the use of COM technology. The code makes an ActiveX server using C#, this server has a single event that functions in a similar way to the ddeexec function; this event passes a string to a wrapper for the eval function. Using this event an example user written function is called. Examples are provided on calling C# methods from MATLAB and passing vectors, arrays and scalers to and from C# and MATLAB. The code provides a solid basis from with users can build a more complicated interface to C# without writing C wrappers. MATLAB and C# source code is included.
Cite As
Alexander Cave (2026). C#, ActiveX Server (https://www.mathworks.com/matlabcentral/fileexchange/8274-c-activex-server), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Matlab_M_Files/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
