Ran quickstart example and got Function 'subsindex' is not defined for values of class 'struct'

Hi, I tried to run the quickstart example in the cvx/examples folder, while I got the following error:
Function ‘subsindex’ is not defined for values of class ‘struct’.

Error in cvxprob/solve (line 423)
            [ x, status, tprec, iters, y ] = shim.solve( At, b, c, cones, quiet, prec, solv.settings, eargs{:} );

Error in cvx_end (line 88)
        solve( prob );

Error in quickstart (line 28)
cvx_end

I am using Matlab 2017b on macos and the cvx version is cvx2.1.

Try a fresh session of MATLAB. If that doesn’t work, try reinstalling CVX. If that doesn’t work, I’m out of suggestions.