function seriesTable = ee_getNodeDvDtTimeSeries(node,tau,varargin)
% function seriesTable = ee_getNodeDvDtTimeSeries(node,tau,varargin)
%
% ee_getNodeDvDtTimeSeries Calculates the derivatives of terminal
% voltages for Simscape blocks with respect to time (dv/dt) from a
% Simscape(TM) logging node.
% seriesTable is a four-column table with the first column giving the
% logging node, the second column giving the terminal, the third column
% giving the terminal voltage in V, and the fourth column giving the
% dv/dt in V/s.
% The voltage and dv/dt are both provided at times t given by
% t = startTime:tau:endTime.
% This function supports only Simscape components that have nodes based on
% the foundation.electrical.electrical domain.
%
% Input arguments, with default in square brackets []:
% *) node - required input, Simscape logging node
% *) tau - required input, time step used for numerical differentiation
% *) startTime [simulation start time] - start time for dv/dt evaluation
% *) endTime [simulation stop time] - end time for dv/dt evaluation

% Copyright 2017-2018 The MathWorks, Inc.

seriesTable = ee.internal.getNodeDvDtTimeSeries(node,tau,varargin{:});