Dreaming of the Day MATLAB and C# Interact Seamlessly… Until Then, We Adapt.
Latest activity Edit by Patrick Ngosse
on 30 Jul 2025
As someone who grew up programming in C#, I often find myself wishing for a tighter, more native integration between MATLAB and C#.
There’s so much I dream of doing—leveraging the power of Simulink models or MATLAB’s advanced numerical libraries inside my .NET desktop or web applications. Of course, I know there are some workarounds: COM automation, MATLAB Engine API for .NET, or using MATLAB Compiler SDK… but let’s be honest: it’s not quite as seamless as I’d hope.
I imagine a world where:
- I could directly call MATLAB functions from C# as if they were .NET assemblies, without middleware.
- Simulink blocks could generate portable C# code (not just C/C++).
- MATLAB UI components could be embedded in WPF/WinForms apps natively.
Until then... we make do with what we have. But the vision remains.
Anyone else here trying to bridge MATLAB and C# in their workflow? I’d love to hear your experiences or ideas!
— Patrick K.N.