Skip to content

Usage of the function nansum requires additional toolboxes #12

@fyrdahl

Description

@fyrdahl

Steps to reproduce

The files calcfunctions.m, reportflow.m, perfusion.m, dyssyncrony.m and reportbullseye.m uses the function nansum which requires the user to install either the "Financial Toolbox" or the "Statistics and Machine Learning Toolbox".

Using this function is no longer recommended by MathWorks, as the same behavior can be achieved by the built-in sum function with the option 'omitnan'. Granted, the deprecation notice was issued with R2020b, and the recommended version for segment-open is R2019a, I still wanted to raise this issue.

Moreover, it would be great if the list of toolboxes indicated which ones are mandatory and which are optional, as not everyone has an academic license with access to all toolboxes. Can some of the mandatory toolboxes be made optional using error handling? The Parallel Computing Toolbox seems to be mandatory for setting the toolbar icon for LV-segmentation and optional for everything else.

Details

Version/commit: v3.2 R8836 / 6214d7a
Link to data set used: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions