matlab2cpp icon indicating copy to clipboard operation
matlab2cpp copied to clipboard

another struct problem

Open jwmelto opened this issue 5 years ago • 3 comments

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:

ValueError('missing return in function Fget in file structs, Matlab: Crash with file: foo.m, on line: 7',)

but when commented out, it works just fine.

jwmelto avatar Aug 29 '18 22:08 jwmelto

I apologies, but this project is currently unmaintained. There will therefore not be any more bugfixes unless someone takes ownership. I've added a note to the frontpage now to make everyone aware.

jonathf avatar Sep 26 '18 14:09 jonathf

Thanks for letting us know. I don't see the note...

jwmelto avatar Oct 11 '18 18:10 jwmelto

Sorry, thanks. Looks like it wasn't pushed through. Fixed it now.

jonathf avatar Oct 12 '18 11:10 jonathf