Filter löschen
Filter löschen

Matlab codegen and CLI/CLR class

3 Ansichten (letzte 30 Tage)
Tulio
Tulio am 30 Dez. 2013
Beantwortet: Tulio am 31 Dez. 2013
Hi everyone,
I'm trying to add some code generated from Matlab into a a project in C#. So basically the C# code will call a C++ CLI class that contains the code generated by Matlab. My question is how exactly do I have to do in order to make it work? I can see the big picture but not the fine prints of it( I'm very new to this). Is there any other way to do it?
Thanks in advance

Akzeptierte Antwort

Tulio
Tulio am 31 Dez. 2013
Making a long story short. After generating the C shared library you add the project.H project.Lib and project.dll as a library and call it in your CLI class function. You would also have to initialize and terminate the function but after you figure it out doesn't seem to be that complicated.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by