Skip to content

Edited map files not saving when changing the initial map twice  #8

@AdelGuiot

Description

@AdelGuiot

02/06/2023
Windows 11
3D_Export Branch (Valid as of 02/06/2023)
Matlab R2022b

Whenever I edit a map (let's call it map_1), I can obtain and properly save map_1_corrected. map_1_corrected can then be properly edited and saved. However, switching to map_2 without restarting the interface causes the following error when attempting to save:

Unrecognized function or variable 'x_tab'.

Error in click_loop_multi (line 46)
[carte_f1, nb_err ] = map_rectification_multi(carte_z,seuil_min,seuil_max,x_tab,y_tab);

Error in click_loop_multi (line 50)
carte_f = click_loop_multi(carte,carte_f1,seuil_min,seuil_max);

Error in mapping_APP_7/LaunchRectificationButtonPushed (line 1597)
carte_f = click_loop_multi(carte,carte_z2,seuil_min,seuil_max);

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

Error while evaluating Button PrivateButtonPushedFcn.


The error supposedly originates from line 1597 of the interface :

'carte_f = click_loop_multi(carte,carte_z2,seuil_min,seuil_max);'

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