Hitting walls with ‘buggy’ errors of this Matlab Coder toolbox generating from M script to C++
I can honestly say this Code Generating process is kind of frustrating with these strange bugs. You always get these wierd errors like:
>> coder -build xxx.prj ??? Size mismatch (size [:? x 1] ~= size [1 x :?]). Mismatched varying and fixed sizes indicate a probable run-time error. If this diagnostic is incorrect, use indexing to explicitly make the varying size fixed.
It makes me wonder if I will keep hitting walls like this as you can spend deays trying to figure out ways to get around this. I can also say this does not work as you would expect.
NOTE: I am looking into using C++ directly without this potential code generation process. It may be faster in an odd and unoriginal way. YOu could say I would use these Matlab M source files as the roadmap. Believe me, I am very disappointed in this whole process but what can you do?
Lots of good examples in C# but very little in C++.
More Updates: Now I am investigating Simulink options for Moving Average etc.
Follow me in FREE in my newsletter as I get closer to this HFT system
HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>
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!