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 个评论

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

请先登录,再进行评论。

回答(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')

类别

帮助中心File Exchange 中查找有关 TDMS Format Files 的更多信息

产品

版本

R2017b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by