Why is TDMS_handleGetDataOption appearing?

I am using matlab function [finalOutput,metaStruct] = TDMS_readTDMSFile(tdmsFileName,varargin) and the error of
Error in TDMS_readTDMSFile (line 216) TDMS_handleGetDataOption('check',paramsStruct).
Am I calling it wrong? My actual code reads [a,b]=TDMS_readTDMSFile('Filename.tdms');

2 Comments

I have the same problem...Can someone please suggest the solution
What is the full error message?

Sign in to comment.

Answers (1)

Hi there. Here’s what worked for me. At the beginning of my code, I added the path to the folder (tdmsSubfunction) containing the function TDMS_handleGetDataOption:
%add path to subfunctions folder
addpath('path to your tdmsSubfunctions folder')

Products

Release

R2017b

Asked:

on 5 Jul 2018

Edited:

on 19 Jun 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!