From: Oscar on 18 May 2010 10:45 ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <5de83e98-1334-437d-a719-a3a631b8bcde(a)k31g2000vbu.googlegroups.com>... > Oscar: > OK, I understand. When you look at the "Callback" property in the > "Property Inspector" panel in GUIDE, it says > Calculadora('PB_1_Callback',gcbo,[],guidata(gcbo)) > > I would guess that some names don't match up. Like your m-file is not > named Calculadora.m, or it doesn't match the function declaration in > the file or your fig file has a different name than the m-file or > something like that. Remember - it's case sensitive. > > First, install the MCR on your development computer (don't worry - it > won't screw anything up with your full MATLAB). Then run your app > from the command window using the ! operator. Then comeback here and > paste exactly what it says (since what you posted doesn't EXACTLY look > like the kind of error message MATLAB generates so I know you > "paraphrased" it at least a little bit.) > > In the command window, type > which -all Calculadora > and also type > which -all calculadora > (because, remember, it's case sensitive) > Tell me what it says for both cases, even if it's just "calculadora > not found." > > Lastly, you can send the Mathworks your project and they will figure > it out for you (assuming you have a current maintenance contract). > -ImageAnalyst Hi, I finally managed to fix the problem. When the .m file is compiled, all the capital letters in the name main function are switched to small case letters. I changed the name from Calculadora to calculadora in every entry and the software run OK. I appreciate to much your assistance. Sincerely, thanks a lot. Have a good day. |