LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
CallType.m
1classdef (Sealed) CallType
2 properties (Constant)
3 SYNC = 1;
4 ASYNC = 2;
5 FWD = 3;
6 end
7
8 methods (Static)
9
10 function txt = toText(callType)
11 switch callType
12 case CallType.SYNC
13 txt = 'Synchronous';
14 case CallType.ASYNC
15 txt = 'Asynchronous';
16 case CallType.FWD
17 txt = 'Forwarding';
18 otherwise
19 line_error(mfilename, 'Unknown call type.');
20 end
21 end
22 end
23end