-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Suppose I have two directories dir1
and dir2
with more than one file but different number of files (e.g. dir1
has 2 files and dir2
has 3). If I exclude both directories in AutoTrace, it returns the following error:
>> at = opentelemetry.autoinstrument.AutoTrace(@myapp, ...
ExcludeFiles=["dir1" "dir2"], TracerName="testing");
Error using [vertcat](matlab:matlab.lang.internal.introspective.errorDocCallback('vertcat'))
Dimensions of arrays being concatenated are not consistent.
Error in [opentelemetry.autoinstrument.AutoTrace](matlab:matlab.lang.internal.introspective.errorDocCallback('opentelemetry.autoinstrument.AutoTrace', 'C:\Users\dpo\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\MATLAB Interface to OpenTelemetry\+opentelemetry\+autoinstrument\AutoTrace.m', 108)) ([line 108](matlab: opentoline('C:\Users\dpo\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\MATLAB Interface to OpenTelemetry\+opentelemetry\+autoinstrument\AutoTrace.m',108,0)))
excfiles = [excfiles; processFileOrFolderInput(excinput(i))]; %#ok<AGROW>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^