[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to Suppress Warning Messages
From: |
Thomas D. Dean |
Subject: |
How to Suppress Warning Messages |
Date: |
Mon, 15 Jun 2015 19:40:41 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
I get warning messages from gnuplot. Any way to suppress them?
I have tried several versions of warning within the function.
In a function, I do:
octave:1051> a0 = 1e7;
octave:1052> p1 = 55;
octave:1053> p2 = 1e6;
octave:1054> z1 = 4.3e6;
octave:1055> s = tf('s');
octave:1056> TFopen = a0 * (1+s/z1) / (1+s/p1) / (1+s/p2);
octave:1057> Gfb = 10;
octave:1058> b = 1/Gfb;
octave:1059> R1 = 10e3;
octave:1060> R2 = R1 * (1/b - 1)
R2 = 90000
octave:1061> TFstage1 = feedback(TFopen,b);
octave:1062> L = TFopen * b;
octave:1063> S = feedback(1, L)
Transfer function 'S' from input 'u1' to output ...
1.818e-08 s^2 + 0.01818 s + 1
y1: --------------------------------
1.818e-08 s^2 + 0.2507 s + 1e+06
Continuous-time model.
octave:1064> bodemag(TFstage1,'b',S,'g');
octave:1065> close
octave:1066> margin(L);
line 0: warning: Skipping data file with no valid points
line 0: warning: Skipping data file with no valid points
line 0: warning: Skipping data file with no valid points
Tom Dean
- How to Suppress Warning Messages,
Thomas D. Dean <=