<< mpi_scilab mpi_scilab CreateMessagePoint >>

mpi_scilab >> mpi_scilab > CodeMessage

CodeMessage

Execute sending to message point scilab code

Syntax

CodeMessage(MessagePointName)

Arguments

MessagePointName

The name of the messaging point through which the message with scilab code is received. Matrix of strings

Description

Execute scilab code from a message through a messaging point

Examples

//Creating a new message point
messagePointInformation = CreateMessagePoint('MessagePoint1','192.168.0.153',3369);
disp(messagePointInformation);
messagePointInformation = CreateMessagePoint('MessagePoint2','192.168.0.153',3369);
disp(messagePointInformation);

//Sending codesmessage
sendingMessageInformation = SendMessage('MessagePoint1', 'MessagePoint2', ['a = 3.3'; 'b = 3*a + 2'; 'disp(b)']);
disp(sendingMessageInformation);

//Receiving codes
CodeMessage('MessagePoint2');

//Deleted the created message point
messagePointInformation = DestroyMessagePoint('MessagePoint1');
disp(messagePointInformation);
messagePointInformation = DestroyMessagePoint('MessagePoint2');
disp(messagePointInformation);

See also


Report an issue
<< mpi_scilab mpi_scilab CreateMessagePoint >>