Error (error in line 42) in using matlab execution (guide compiled) file.

17 views (last 30 days)
I have made a guide and compile it. When I install its execution file in my laptop it is working well but when I install in others laptop it showing error (error in line 42, which is main function file and can't be edited). help me to solve the problem so that it will distribute to others for use.
  5 Comments
Walter Roberson
Walter Roberson on 26 Sep 2018
My guess is that you have a callback that refers to a function that is not part of the main .m file, and which you have not added to the project. MATLAB cannot always automatically find references to functions when they are coded in callbacks attached to graphics objects or when they are coded as character vectors.

Sign in to comment.

Answers (1)

Bruno Luong
Bruno Luong on 26 Sep 2018
Edited: Bruno Luong on 26 Sep 2018
Shooting in the dark : Delete the line #42 (that the best I can do to help you).

Community Treasure Hunt

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

Start Hunting!

Translated by