Why is fitglm throwing subscripting error with hospital dataset?
1 view (last 30 days)
Show older comments
Matyas Varga
on 23 Jun 2021
Commented: Walter Roberson
on 28 Feb 2022
2 Comments
Walter Roberson
on 28 Feb 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.)
Accepted Answer
Walter Roberson
on 23 Jun 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
More Answers (0)
See Also
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!