Building Controls Virtual Test Bed
|
Go to the source code of this file.
Functions | |
getenv('BCVTB_OS' | deblank () |
if (strcmp(os,'windows'))%have Windows LIBBCVTB | |
elseif (strcmp(os,'mac')) LIBBCVTB | |
loadlibrary (LIBBCVTB,... 'matlabSocket.h',... 'includepath', './..',... 'mfilename', 'bcvtb.m')%-------------------------------------------------------------------%Check if Simulink is installed on this system.If Simulink is%is not installed | |
if | strcmp (retVal, '') disp('Simulink is not installed on this computer.') disp('The Simulink library will not be compiled.') else makeSBlock |
disp ('***Generating mex file') legacy_code('sfcn_cmex_generate' | |
def | disp ('***Compiling code')%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%fix from Mathworks(email from 2/7/08) fschange('') |
FSCHANGE is a Mathworks internal function that is used for troubleshooting purposes It takes the name of a directory as an input and forces the MATLAB path manager to recheck the contents of the directory to check for | new (or deleted) files.When an empty string is%%passed as an input the entire path is rechecked.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Compilation for Windows if(strcmp(os |
FSCHANGE is a Mathworks internal function that is used for troubleshooting purposes It takes the name of a directory as an input and forces the MATLAB path manager to recheck the contents of the directory to check for windows have Windows | disp ('***Compiling MATLAB interface for Windows') legacy_code('compile' |
delete (fn) end end exit | |
Variables | |
This file compiles the BSD socket interface for Simulink It is called by ant On | Windows |
This file compiles the BSD socket interface for Simulink It is called by ant On it requires the Microsoft compiler | Note |
This file compiles the BSD socket interface for Simulink It is called by ant On it requires the Microsoft compiler since matlab requires the size of output arrays to be fixed If more elements are | required |
else | LIBBCVTB ='../util/libbcvtb.so' |
end | incPat = [pwd, '/..'] |
exit | Otherwise |
exit continue and compile simulink libraries | retVal =which('simulink') |
modelName = 'BSDSocket' | |
def =legacy_code('initialize') | |
def | SourceFiles ={'simulinkSocket.c'} |
def | HeaderFiles ={'simulinkSocket.h'} |
def | SampleTime = 'inherited' |
funNam = {'establishBSDSocket', 'exchangeDoublesWithBSDSocket', 'closeBSDSocket'} | |
funSpe | |
for | i |
def | OutputFcnSpec = char(funSpe(i)) |
FSCHANGE is a Mathworks internal function that is used for troubleshooting purposes It takes the name of a directory as an input and forces the MATLAB path manager to recheck the contents of the directory to check for windows have Windows | c |
|
virtual |
delete | ( | fn | ) |
disp | ( | '***Generating mex file' | ) |
def disp | ( | '***Compiling code' | ) |
FSCHANGE is a Mathworks internal function that is used for troubleshooting purposes It takes the name of a directory as an input and forces the MATLAB path manager to recheck the contents of the directory to check for windows have Windows disp | ( | '***Compiling MATLAB interface for Windows' | ) |
elseif | ( | strcmp(os,'mac') | ) |
if | ( | strcmp(os,'windows') | ) |
loadlibrary | ( | LIBBCVTB | , |
... 'matlabSocket.h' | , | ||
... 'includepath' | , | ||
'./..' | , | ||
... 'mfilename' | , | ||
'bcvtb.m' | |||
) |
FSCHANGE is a Mathworks internal function that is used for troubleshooting purposes It takes the name of a directory as an input and forces the MATLAB path manager to recheck the contents of the directory to check for new | ( | or | deleted | ) |
FSCHANGE is a Mathworks internal function that is used for troubleshooting purposes It takes the name of a directory as an input and forces the MATLAB path manager to recheck the contents of the directory to check for windows have Windows c |
Definition at line 89 of file compile.m.
Referenced by first(), and BCVTB.VersionUpdater::main().
funNam = {'establishBSDSocket', 'exchangeDoublesWithBSDSocket', 'closeBSDSocket'} |
funSpe |
for i |
Definition at line 69 of file compile.m.
Referenced by adInterfaceMCC.actor.ADInterfaceMCCWriter::addPropertyValue(), bacnet.actor.BACnetWriter::addPropertyValue(), assembleBuffer(), adInterfaceMCC.actor.ADInterfaceMCCWriter::checkNumberOfInput(), adInterfaceMCC.actor.ADInterfaceMCCWriter::consumeToken(), bacnet.actor.BACnetWriter::consumeToken(), disassembleBuffer(), disassembleHeaderBuffer(), EPstart(), adInterfaceMCC.util.ADInterfaceMCC::executeProcess(), bacnet.util.BACnet::executeProcess(), first(), freeResource(), getepvariables(), getepvariablesFMU(), adInterfaceMCC.util.ADInterfaceMCCDeviceManager::getProcesses(), bacnet.util.BACnetDeviceManager::getProcesses(), getsockethost(), getsocketportnumber(), getxmlvalues(), GetPath::main(), main(), bacnet.util.BACnetObjectType::parseObjectType(), adInterfaceMCC.actor.ADInterfaceMCCWriter::prefire(), bacnet.actor.BACnetWriter::prefire(), adInterfaceMCC.actor.ADInterfaceMCCReader::propertyValueReader(), bacnet.util.BACnetDeviceManager::readCompleteObjectPropertyList(), bacnet.util.BACnetDeviceManager::readDeviceArray(), bacnet.util.BACnet::readDevicePropertyArray(), bacnet.util.BACnetDeviceManager::readDevicePropertyList(), readfromsocket(), bacnet.util.BACnetDeviceManager::readObjectList(), BCVTB.Launcher::setupCommandList(), BCVTB.Launcher::setupPtolemyArguments(), start(), adInterfaceMCC.util.ADInterfaceMCCDeviceManager::toString(), bacnet.util.BACnetDeviceManager::toString(), bacnet.util.BACnet::transformArrayList(), adInterfaceMCC.util.ADInterfaceMCC::transformArrayListDouble(), adInterfaceMCC.util.ADInterfaceMCC::transformArrayListString(), bacnet.util.BACnet::validateAttributes(), adInterfaceMCC.util.ADInterfaceMCC::validateAttributes(), bacnet.util.BACnet::validateDevice(), bacnet.util.BACnet::validateObjectType(), and bacnet.util.BACnet::validatePropertyName().
This file compiles the BSD socket interface for Simulink It is called by ant On it requires the Microsoft compiler Note |
This file compiles the BSD socket interface for Simulink It is called by ant On it requires the Microsoft compiler since matlab requires the size of output arrays to be fixed If more elements are required |
Definition at line 5 of file compile.m.
Referenced by adInterfaceMCC.actor.ADInterfaceMCCWriter::prefire(), and bacnet.actor.BACnetWriter::prefire().
exit continue and compile simulink libraries retVal =which('simulink') |
def SourceFiles ={'simulinkSocket.c'} |