can everyone know how to use matlab data transfer to lcd display

1 次查看(过去 30 天)
function Connect(~,~,~) try arduino = serial('COM4','BaudRate',115200); fopen(arduino);
catch e
obj = instrfind;
fclose(obj);
delete(obj);
arduino = serial('COM4','BaudRate',115200);
fopen(arduino);
end
set(b1,'Visible','off');
set([b2 b3 b4],'Visible','on');
end
function SendData(~,~,~)
fprintf(arduino,get(ed,'String'));
dataReceive = fscanf(arduino);
this is the code i found from file exchange but i want create the own gui system
unlucky ,i dont know how to write the code

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Instrument Control Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by