Go Down

Topic: Arduino Matlab GUI--> always execute (Read 303 times) previous topic - next topic

David_1992

hey guys,
i want to execute a code with handles in the GUI of Matlab, it should start before I pess the start button and finish with the stop button.

I just want to now if there is a possibility for that problem?

thanks

Code I want to execute during the Gui is started
Code: [Select]
while(1)
i=fscanf(arduino, '%c');
    switch(i)
        case 'R'
            set(handles.rechtsLED,'BackgroundColor','red');
        case 'L'
            set(handles.linksLED,'BackgroundColor','red');
        otherwise
            set(handles.hall, 'String', i);
    end
end

Go Up