Why is fitglm throwing subscripting error with hospital dataset?

1 visualización (últimos 30 días)
  2 comentarios
Walter Roberson
Walter Roberson el 28 de Feb. de 2022
Most people who encounter this problem have SPM12 (or a different SPM) installed. If you do as well, then look under the SPM installation directory for a folder named external/fieldtrip/compat/matlablt2013b and delete that folder (or make sure it gets removed form your MATLAB path.)

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de Jun. de 2021
That problem does not occur for me if I test in R2020b (your version) or R2021a
When I look at the code, I can see that the problem could arise if you happen to have a third-party function named istable on your MATLAB path. What shows up for
which -all istable
  2 comentarios
Matyas Varga
Matyas Varga el 23 de Jun. de 2021
C:\....spm12 (2)\spm12\external\fieldtrip\compat\matlablt2013b\istable.m
Took the full path out for privacy reasons.
C:\Program Files\MATLAB\R2020b\toolbox\matlab\datatypes\tabular\istable.m
Matyas Varga
Matyas Varga el 23 de Jun. de 2021
I took the first one off the path and now it works.
Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by