initmajordomo.m
来自「A very small 250-line library (written e」· M 代码 · 共 17 行
M
17 行
function [sendsoc,receivesoc]=initmajordomo%function [sendsoc,receivesoc]=initmajordomo%% This function initializes two ports:% sendsoc --> is the handler to the port that will have a queue% with the remote machines that are available to receive % a task% receivesoc --> is a handler to the port that will have a queue% with the remote machines that finished its process and% are waiting to return the ouput variables%% by Lucio Andrademagic_port=5321;sendsoc=tcpip_servsocket(magic_port);receivesoc=tcpip_servsocket(magic_port+1);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?