GUI做的UDP接收数据,发送端采用网络调试助手,采用异步接收机制,每次收到数据都很卡,不知道为什么,代码如下:
function varargout = hrr_a_display(varargin)
% HRR_A_DISPLAY MATLAB code for hrr_a_display.fig
% HRR_A_DISPLAY, by itself, creates a new HRR_A_DISPLAY or raises the existing
% singleton*.
%
% H = HRR_A_DISPLAY returns the handle to a new HRR_A_DISPLAY or the handle to
% the existing singleton*.
%
% HRR_A_DISPLAY('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in HRR_A_DISPLAY.M with the given input arguments.
%
% HRR_A_DISPLAY('Property','Value',...) creates a new HRR_A_DISPLAY or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before hrr_a_display_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to hrr_a_display_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help hrr_a_display
% Last Modified by GUIDE v2.5 15-Oct-2016 08:19:27
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @hrr_a_display_OpeningFcn, ...
'gui_OutputFcn', @hrr_a_d