Why did this error message appear?
Mostrar comentarios más antiguos
I have been working on some code for a while now. I was testing a new part of the code, and an error message occured that had nothing to do with the part of the code I was testing. The error message was
Warning: single-selection list box control requires that Value be an integer within String range Control will not be rendered until all of its parameter values are valid
I commented this code out
set(handles.viewableCycles,'string',{cycleList})
When I ran all the code again the message disappeared. So then I uncommented it and ran it again, but the error did not appear. The code that I commented out sets the values that you can select in a list box (GUI). When the error originally appeared the list box disappeared in the GUI. Also, after the error stopped appearing, the program worked and the list box displayed the values. cycleList is an array of 55 values. handles.viewableCycles is the list box
What does the error mean and how can commenting code out and undoing the comment fix the code?
2 comentarios
Baishakhi Tikader
el 3 de Jul. de 2017
Editada: Baishakhi Tikader
el 3 de Jul. de 2017
Hi Everyone,
I am a student working with MATLAB academic liscense.
I am using a software which is MATLAB based for optimization. I am using MATLAB2015b. When I am trying to run a particular method of optimization of that software I am getting some error.
Please help me out
Adam
el 3 de Jul. de 2017
Why are you adding this as a comment to a seemingly completely unrelated thread from 2 years ago?!
If it is important start a new question and give plenty of details to help people help you.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Software Development Tools en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!