Field ii ultrasound simulation: Unable to run C compiled binary files (mexw64 extension)
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
In Field ii ultrasound simulation library a particular function field_init needs to be run initially. Here is the code for the m-file containing a binary complied function Mat_field that Matlab does not seem to recognize:
function res = field_init (suppress)
% Call the C-part of the program to initialize it
if (nargin==1)
Mat_field (5001,suppress);
else
Mat_field (5001,1);
end
Here is what I get when I invoke this function. Matlab does not seem to recognize Mat_field function tho the files Mat_field.mexw64 exists:
field_init
Unrecognized function or variable 'Mat_field'.
Error in field_init (line 25)
Mat_field (5001,1);
0 Kommentare
Antworten (1)
Steven Lord
am 19 Mär. 2024
Which operating system are you using? As you can see from the table below:
struct2table(mexext('all'))
mexw64 is the extension for MEX-files running in a MATLAB session on a 64-bit Windows machine. If you're using a Linux machine or a Mac, you will need a version of that MEX-file compiled for use on that system. [No, renaming the file won't work.]
1 Kommentar
Subhajit
am 20 Mär. 2024
I am running Matlab in Windows-10 laptop (64-bit) which appears to be compatible. I am not renaming any file.
Thanks for your reply & regards,
Siehe auch
Kategorien
Mehr zu Manage Products finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!