How can I convert Matlab code to c#?

Does MATLAB's new "portable C/C++ code directly from MATLAB" feature make it possible for us to write C programs in MATLAB first?

  • Does anyone have more information about it? Does this mean that we could write most of our C code using MATLAB first, and then run the MATLAB coder? (C is important for speed, but MATLAB makes displaying output and debugging much easier)

  • Answer:

    I watched the webinar on MATLAB coder last week. It should be uploaded soon here: http://www.mathworks.com/products/matlab-coder/demos.html?show=recorded The biggest obstacle seems to be that only a subset of MATLAB's functionality is available to coder. In order to get the full suite of functions, you have to use the runtime version which incurs the same overhead as running a script in MATLAB, though you can distribute it to computers that don't have a MATLAB license. That said, I do plan to experiment with this a bit. The MATLAB environment is great for experimenting with data and developing a process in stages. This is definitely something that I will be experimenting with. There are some additional demo videos here: http://www.mathworks.com/products/matlab-coder/demos.html

Tony McDaniel at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.