# Conflicts: # xpcPlugin/XPlaneConnect/mac.xpl # xpcPlugin/xpcPlugin.xcodeproj/project.pbxproj
18 lines
474 B
Matlab
18 lines
474 B
Matlab
function sendDREF( dref, value, socket )
|
|
% sendDREFs Sends a command to X-Plane that sets the given DREF. This
|
|
% function is now an alias to sendDREFs. It is kept only for backwards
|
|
% compatibility.
|
|
%
|
|
% Contributors
|
|
% [CT] Christopher Teubert (SGT, Inc.)
|
|
% christopher.a.teubert@nasa.gov
|
|
% [JW] Jason Watkins
|
|
% jason.w.watkins@nasa.gov
|
|
|
|
import XPlaneConnect.*
|
|
|
|
if ~exist('socket', 'var')
|
|
sendDREFs(dref, value)
|
|
else
|
|
sendDREFs(dref, value, socket)
|
|
end |