help required in installing ultrasim
Show older comments
can anybody explain the procedure of installing ultrasim. i have downloaded the zip file and unzipped it in matlab toolbox library and followed the steps according to this link
made a startup.m file and edited usiminit.m and userusim.m files to point the location and made directories for ultrasim
Still it gave me 3 errors which were
Undefined function 'usimcnf' for input arguments of type 'char'.
Error in usimstrt (line 67)
config=usimcnf('initialize',flagg,option);
Error in ultrasim (line 20)
usimstrt;
Error in usim (line 16)
ultrasim
also i have installed matlab in 'D' drive.. but when i have installed it in 'C' drive it was giving some different errors.
i have to use this software for FYP.. and not much help is available on the internet.. Kindly help me out with this issue.
Accepted Answer
More Answers (1)
izdc90
on 2 Oct 2018
0 votes
I'm trying to see the 2D response of examples (.cnf) using Ultrasim toolbox, and it gives me the following error:
*Error using datetime/horzcat (line 1210) Could not automatically convert the string 'ARRAY-RESPONSE' to a datetime value because its format was not recognized.
Error in petxt (line 242) Ttxt1 = ['ARRAY-RESPONSE',' ',fig_txt,' ',datetime];
Error in peplot (line 159) petxt(excitation,media,transducer,option,flagg,z,t, ...
Error using eusim (line 60) Error while evaluating Menu Callback*
What could be the cause?
Regards
2 Comments
Sverre Holm
on 3 Oct 2018
Edited: Sverre Holm
on 3 Oct 2018
The problem seems to be 'datetime' which is a function call in Ultrasim. However, "Starting in R2014b, datetime, duration, and calendarDuration are data types dedicated to storing date and time data, and are easily distinguishable from numeric values." This is according to https://blogs.mathworks.com/loren/2015/02/12/introduction-to-the-new-matlab-data-types-for-dates-and-time/
Therefore there is a clash between data types.
In order to fix it, the datetime routine in Ultrasim needs to be renamed, and the relatively few calls to it also.
Walter Roberson
on 3 Oct 2018
Thanks, Sverre Holm,
I notice that the download link I had posted above no longer functions, and I cannot see a working download link at https://www.mn.uio.no/ifi/english/research/groups/dsb/resources/software/ultrasim/download/ . Would there be a newer link available?
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!