Skip to content

MUedit_exported.m returning an error when selecting a file under decomposition tab #5

@HsTabbert

Description

@HsTabbert

I was doing a series of decompositions on previously collected data and halfway through my day I started getting this MATLAB error (see below) returned whenever I use the 'select file' button on the decomposition window for any .otb+ or .otb4 file. I have tried uninstalling MUedit and redownloading from GitHub, resetting the working directory and even tried to load in the original files that I previously decomposed and those no longer work either. The Manual Editing side of the interface is still completely functional with any of the decomposed files I import - seems to only be an issue on the decomposition side.

I am not an experienced coder and have tried Ai prompting to help identify the issue but have not been able to get a clear answer. I am not sure what happened for the code to suddenly start returning these errors when I haven't made any changes to the code or to the files I was previously successful in importing. I would appreciate any suggestions or feedback to help me with this issue!

`
Index exceeds the number of array elements. Index must not exceed 337920.

Error in openOTBplus (line 159)
data1 = data1(1:size(data,2));

Error in MUedit_exported/SelectfileButtonPushed (line 149)
[app.MUdecomp.config, signal] = openOTBplus(app.pathname, app.filename, 1);

Error in appdesigner.internal.service.AppManagementService/executeCallback (line 172)
callback(appOrUserComponent, event);

Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)
newCallback = @(source, event)executeCallback(ams, ...

Error using appdesservices.internal.interfaces.model.AbstractModel/executeUserCallback (line 282)
Error while evaluating Button PrivateButtonPushedFcn.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions