Go Down

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

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy