From e31fed82beaac67b0a824959b899673afaf11cb9 Mon Sep 17 00:00:00 2001 From: Jan Chrin Date: Thu, 23 Nov 2017 10:36:53 +0100 Subject: [PATCH] open methods refined - removed print statements --- exampleNew.m | 2 +- macchinettaSwitch.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/exampleNew.m b/exampleNew.m index 56df4cc..1b5cb33 100644 --- a/exampleNew.m +++ b/exampleNew.m @@ -275,7 +275,7 @@ statusInfo = mocha ('statusInfo', status); %statusArray[2] returns same data as statusInfo above %Status code/name pairs can be listed as follows: -disp('Listing all possible status code value/name pairs') +%disp('Listing all possible status code value/name pairs') [strVal, intVal] = mocha('statusList'); %Alarm conditions and alarm severities can be listed as follows: diff --git a/macchinettaSwitch.cpp b/macchinettaSwitch.cpp index 37af4ec..39932c8 100644 --- a/macchinettaSwitch.cpp +++ b/macchinettaSwitch.cpp @@ -921,8 +921,7 @@ void macchinettaFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prh } } - mexPrintf("openArray - when %d\n", cafe.channelOpenPolicy.getWhenToFlushSendBuffer()); - mexPrintf("openArray - with %d\n", cafe.channelOpenPolicy.getFlushSendBufferKind()); + vector vuint32=NS_MOCHA::openArray(vstr);