Error using matlab.graphics.axis.Axes/set
Ältere Kommentare anzeigen
Hello Experts,
As i am running one protected file(.p - sorry it’s confidential so that even i am not able to see that). It runs all the way through second last stage and at the end it shows the error
Error using ‘matlab.graphics.axis.Axes/set’, ‘Value must be a lx2 vector of numeric type in which the second element is greater than the first element or is inf.’
I have already tried ‘bdstop if error’ but it shows your file is not currently in a debuggable state-skipping the frame. i am using matlab version 2020a. Is this error has anything to do with matlab version or tool?
Is there any other way to find out the reason for the error. Thank you in advance for your helpful suggestions.
Regards, Romil
4 Kommentare
Chang
am 7 Mär. 2023
I am having the same problem as you.Could you tell me how you solved this problem?So appreciate it.
Walter Roberson
am 7 Mär. 2023
Do you have the same situation where the problem is occuring inside a .p file? Or is the problem occuring inside a .m file that you can potentially use the debugger with?
Chang
am 8 Mär. 2023
@Walter Roberson So gratful for your reply!.p or .a you mentioned means the name of files or something else? I standarded my processing of data again and the error above did not occur.But this time the system reminds me that my data is too short when erp image is plotting. So I prepare to modify my experiment. :D
Walter Roberson
am 8 Mär. 2023
MATLAB uses several different file extensions. The main one containing text matlab code is files with ".m" file extension. Livescript files contain text code but also possibly more have ".mlx" extension. Simulink models are ".slx" or (older) ".mdl" file extensions.
The file extension ".p" is used for ".m" files that have been "protected". You cannot read the source code for such files but they can be executed.
When you have a .p file like Romil had, it is difficult to debug.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!