Sunday, 15 August 2010

matlab - Error updating Text -


that I am using MATLAB to plot the waves of various earthquakes and a correlation coefficient between the waves . I am using the 2014 B edition. Initially when I ran the code, there was no error. However, this error has now started popping up.

The alert is as follows:

  Warning: Error updating text. The error of the following series of reasons: the string must be valid interpreter syntax: Master Event Waveform: Twaveforms \ 15 AAC3 SN Warning range of causes of error in updating the text is as follows: Must be a valid interpreter syntax string: Secondary Event wave: Twaveforms \ 15 AAC3 SE  

AAC3 is one of my 4 stations and SE is a step

I used the command:

  heading P1 = ['Secondary Event Wave:', '', Secondfile (57:70), '', Secondesta, '', Fiestype] ;   

I tried after the word ' after the word ' side ' but failed every time. Is there any good suggestion for someone to help fix this error?

This error is very apparent in the seconds file in the string contained in a \ . In the plots the title can explain latex syntax and you can prepaid a \ before the latex command. What is happening here is that it is trying to define the command \ 15 , which is an undefined latex command.

In this way, you should not include either the \ character, or if you really want secondfile , then second < / Strong> Add \ so that it means the form of a \ character while displaying the title (i.e. \\ ).

I believe that you want the latter option, so that you can try to add an additional \ for your title to something like this.

Get the string from the% x seconds file = secondsfile (57:70); Use regexprep to change any of the% // characters in which \ to \\ s = regexprep (s, '\\', '\\\\'); Use% // changed string and title title P1 = ['Secondary Event Wave:', '', S, '', Secondesta, '', Phagetepe];

No comments:

Post a Comment