function varargout = dspblkstw2(varargin)
%DSPBLKSTW2 DSP Blockset Signal To Workspace block helper function.

% Copyright 1995-2000 The MathWorks, Inc.
% $Revision: 1.1 $ $Date: 2000/08/29 23:42:56 $

thisBlk    = gcb;
twksBlk    = [thisBlk '/To Workspace'];
newVarName = get_param(thisBlk,'VariableName');
oldVarName = get_param(twksBlk, 'VariableName');
if ~strcmp(oldVarName, newVarName),
   set_param(twksBlk, 'VariableName', newVarName);
end

FrameMode = get_param(thisBlk,'FrameMode');
ConcatFrames = strncmp(FrameMode,'Concat',6);
varargout{1} = ConcatFrames;

% [EOF] dspblkstw2.m
