The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Why am I getting this error?
Replies: 3   Last Post: Sep 26, 2013 1:54 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 24
Registered: 2/11/11
Why am I getting this error?
Posted: Sep 25, 2013 7:20 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

This code used to work, now I am getting an error and I dont know why. I've posted my code, and then the error. Thanks in advance!

for a = 1:18
Fileone = 'TCHSinBTBTB_Delta';
File = [Fileone,'_Blink',int2str(a)]



data = deltaT;
stem = 'chart';

for L = length(fieldnames(deltaT))
field = [stem,int2str(L)];
deltaT = data.(field);

numBlinkEvents = [numBlinkEvents length(deltaT)];
compiledBlinks = [compiledBlinks deltaT'];


vars = {'numBlinkEvents', 'compiledBlinks', L}; % Singleing out the variables to keep.
save(File, vars{:});

clear all

a =


File =


Error using save
Argument must contain a string.

Error in procdelt (line 40)
save(File, vars{:});

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.