fbpx

2 Questions and Answers from Youtube demo video on Matlab Coder M scipt conversion to Visual C++ and Qt

(Last Updated On: December 24, 2011)

2 Questions and Answers from Youtube demo video on Matlab Coder M scipt conversion to Visual C++ and Qt

A question came up on a Youtube video.

http://www.youtube.com/watch?v=7FhtqcpAE5o&feature=email&email=comment_received

this is very interesting, I am trying to get Matlab m files converted to C/C++ in order to call them from QT creator. Can you tell about excution speed (not compilation). Is it the same as in Matab? or faster may be as the code gets converted into c++?

my second question is about the converted cpp functions (from m files). Can you access the functions and modify them from Visual C++? Or do you have to go back into Matlab to do it?
thanks in advance man.
Mohamed

I cannot really comment on QT but played with it. I was not a fan but in terms of speed, I would THINK it would be a little slower as there is one more layer to deal with. Your compiled C++ should be much faster as compared to running in Matlab. It depends on how much code you minimize when generated from the Matlab Coder Toolbox Settings.

As for the second question, if the generated C++ code is small to maintain go for it otherwise you will need to modify  the M script file and have Matlab Coder regenerate your C++. The nice thing is you have complete 100% control on your source code at both ends.

Hope that helps and thanks for asking


NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
Don't miss out!
Get my TRADE LIKE A BOSS 2 PDF Books

You will received instantly the download links.

Invalid email address
Give it a try. You can unsubscribe at any time.

NOTE!

Check NEW site on stock forex and ETF analysis and automation

Scroll to Top