GUI Table Nan Problem

1 次查看(过去 30 天)
Melvin
Melvin 2012-10-14
回答: Melvin 2014-3-13
Hi everyone.
Here's my problem:
I've got a table on my gui. All the entries are editable. Whenever I run the program, I should keep in mind that the first cell must be left empty(just an example) while others are filled. But there are times I become careless and accidentally inputted a value on the first cell. So my initiative tells me to delete the number/word I have just inputted. But a "Nan" appears after. I really want to avoid this case. So how can I avoid the Nan even after inputting some value then deleting it? How and where should I program an error dialog so that, no "Nan" can be seen on my table. Thank you very much. God bless

回答(2 个)

Jeff Freeman
Jeff Freeman 2014-3-10
Hi Melvin,
I'm encountering the same problem (R2013a). Were you able to find a solution for this?
Regards, Jeff

Melvin
Melvin 2014-3-13
Hi jeff, I cannot remember how I solved it. It's been a long time since I had this problem. Maybe, I haven't solve it either. I am really sorry. I am not using MATLAB these days anymore. Good luck. Don't stop exploring.
Regards, Melvin

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by