How to Create a Matlab Project with OpenECA?


Hi all,
I am pretty new in Open ECA and I am sorry if my question is very basic.
Following the instruction in link, I was able to create a project (called oscillation) with OpenECA in C# and it runs very well.
However, when I tried to make another project for Matlab, I get an error.
Here is my assumption: I implement my algorithm in “Algorithm.m” file (in Matlab) and then run the “oscillation.sln” in visual studio to get the result.
Please let me know if this is a proper approach or I am missing something?