matlab2cpp icon indicating copy to clipboard operation
matlab2cpp copied to clipboard

Convertion program from Matlab to C++ using Armadillo

Results 18 matlab2cpp issues
Sort by recently updated
recently updated
newest added

Here is a minimal failing program: function [zz] = foo( ) h.z = zeros(30,1); z1 = zeros(30,1); zz = z1(1:2); %zz = h.z(1:2); return The commented line causes a crash:...

When I tried to use -S which is suggestions by Matlab, I got the following error message: ----------------------------------------------------------------------------------------------- MacBook-Pro-2:Machine_Vision taiwu$ m2cpp calib_extrinsic_c.m -S Undefined variable "WIN_20170414_10_47_05_Pro" or class "WIN_20170414_10_47_05_Pro.jpg". matlab...

The first pass of parsing a file is reasonable, but leaves a lot of type deduction to the imagination. Now suppose that `foo.m.py` includes the following structure (where the types...

Greetings. Attempting to convert fgap.m (not my code, it was written by Vitor Piro and is available here: https://github.com/pirovc/fgap ) to cpp using matlab2.cpp. After installing the latter using whatever...

I have this error(IndexError: node child "Out" not found) while converting yall1.m to c++ it will be very helpful if you give solution to this error as early as possible....

Matlab: dRdm1 = zeros(9,21); dRdm1([1 5 9],1) = ones(3,1); Errors: Traceback (most recent call last): File "/usr/local/bin/m2cpp", line 9, in load_entry_point('matlab2cpp==2.0.1', 'console_scripts', 'm2cpp')() File "/Library/Python/2.7/site-packages/matlab2cpp-2.0.1-py2.7.egg/matlab2cpp/__init__.py", line 62, in m2cpp execute_parser(args)...

From #125: Add a `-1` to auxillary variables when in `Set`. From #126: Bugfix for auxillary variables in `Set`. From #128: Reserved name `Get_sum` bugfix: `vectorize:() -> vectorise::()` From #128...

I got an error when convert HANTS.m in the following MATLAB file. https://cn.mathworks.com/matlabcentral/fileexchange/38841-matlab-implementation-of-harmonic-analysis-of-time-series--hants- `kong@KONG:/mnt/c/Users/kongdd/m2cpp-master$ m2cpp HANTS.m Traceback (most recent call last): File "/usr/local/bin/m2cpp", line 99, in matlab2cpp.main(args) File "/usr/local/lib/python2.7/dist-packages/matlab2cpp/__init__.py", line...

Please check the following expression in MATLAB. the second argument of cumsum is not translated correctly and tril is not translated to trimatl. si = tril(reshape(cumsum(reshape(C(2:end,:)*DT,n,n-1),2),n-1,n)); C: nxm DT: mxn...

I'm interested in using this for speeding up existing Matlab code that I have been translating by hand. With all the work that's been put in already, an option to...