matlab help very urgent

Discussion in 'Programmer's Corner' started by Siddharthd, May 28, 2010.

  1. Siddharthd

    Thread Starter New Member

    May 28, 2010
    5
    0
    ppl,

    here's the deal.. I made a 'ex.m' file that does some calculations and produces correct results, when i call it from the command window....

    then I created a gui,, where i put a push button. What I want is that when users click on this button ex.m shall execute producing that correct result. I wrote the command as

    uicontrol('Style','PushButton','CallBack','ex');

    but when I run the gui and click on this button, it goes into some unending loop or something. Plz help me. Its urgent

    Thanks in advance
     
  2. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    You didn't post your code, so it'll be tough to guess what's going on.

    I haven't used Matlab, so I won't be much help - but you should know that omitting your code will cause a person who DOES know it to wait for you to post your code.
     
Loading...