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 usimstrt;
Error in ==> usim at 16 ultrasim
Please guide

댓글 수: 2

lurkingleo
lurkingleo 2016년 4월 14일
i have changed the command finite() to is isfinite() but after running the program it is showing same errors.. can anybody help???
Walter Roberson
Walter Roberson 2016년 4월 14일
Create a function finite.m that returns the result of isfinite and then you will not need to track down the rest of the references

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 2월 25일

0 개 추천

Try changing the finite() to isfinite()

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

질문:

2012년 2월 23일

댓글:

2016년 4월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by