Beispiel #1
0
def func1(x):
    calc()
    c1 = 0
    d1 = np.zeros(233, int)
    for i in xrange(5):
        d1[c1] = writeln(1, i)
        c1 += 1
        #time.sleep(1)
    sio.savemat('11.mat', {'dd': d1})
Beispiel #2
0
def func3(x):
    calc()
    c3 = 0
    d3 = np.zeros(233, int)
    for i in xrange(5):
        d3[c3] = writeln(3, i)
        c3 += 1
        #time.sleep(1)
    sio.savemat('33.mat', {'dd': d3})
Beispiel #3
0
def func4(x):
    calc()
    c4 = 0
    d4 = np.zeros(233, int)
    for i in xrange(5):
        d4[c4] = writeln(4, i)
        c4 += 1
        #time.sleep(1)
    sio.savemat('44.mat', {'dd': d4})
Beispiel #4
0
def func2(x):
    calc()
    c2 = 0
    d2 = np.zeros(233, int)
    for i in xrange(5):
        d2[c2] = writeln(2, i)
        c2 += 1
        #time.sleep(1)
    sio.savemat('22.mat', {'dd': d2})