How can i control a uicheckbox based on excel cell value Yes or No

1 visualización (últimos 30 días)
PA
PA el 15 de Ag. de 2023
Editada: Cris LaPierre el 16 de Ag. de 2023
I have an excel cell value for a parameter to be YES NO. Now i am importing this in my function and then creating folders to store the excel values After that i want to modify my checkbox by the values from excel cell
  1 comentario
Rik
Rik el 15 de Ag. de 2023
And which part of this process is causing you trouble? Have a read here and here. It will greatly improve your chances of getting an answer. Your current question is a description for a consultant, not a question.

Iniciar sesión para comentar.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 15 de Ag. de 2023
Basically, you need to programmatically convert your yes/no to true/false, and use that to set the Value property of your checkbox.
  11 comentarios
PA
PA el 16 de Ag. de 2023
i just added a new value'9' to the parameter d3. And can you tell me how can i check and uncheck the ui check box with the tableYES or NO with the code i shared here
Cris LaPierre
Cris LaPierre el 16 de Ag. de 2023
Editada: Cris LaPierre el 16 de Ag. de 2023
I'm afraid I don't know what that means. Please provide a runnable example.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by