Field ii ultrasound simulation: Unable to run C compiled binary files (mexw64 extension)
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Steven Lord
el 19 de Mzo. de 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 comentario
Subhajit
el 20 de Mzo. de 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,
Ver también
Categorías
Más información sobre Manage Products en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!