Matlab USim

Discussion in 'Programmer's Corner' started by h_1733, Feb 23, 2012.

  1. h_1733

    Thread Starter New Member

    Feb 23, 2012
    I have downloaded USim. Its perfectly installed but the following error occurs when i press enter.

    Loading E:\Matlab Sw\toolbox\ultrasim\startup.cnf

    Simulation of CW field, pitch = lambda/2, using 2D response command

    WAIT: Calculating observation points > PLANE

    Finding element and point coordinates .....................

    ??? Undefined function or method 'finite' for input arguments of type 'double'.

    Error in ==> rectangu at 144
    if (ri ~= 0 & finite(ri)),

    Error in ==> lusim at 163
    [elem_pts, centers]=rectangu(transducer,excitation,media);

    Error in ==> usimstrt at 49
    [excitation, observasjon, media, transducer, flagg, ...

    Error in ==> ultrasim at 20

    Error in ==> usim at 16

    Please guide