Field ii ultrasound simulation: Unable to run C compiled binary files (mexw64 extension)
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Steven Lord
2024-3-19
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 个评论
Subhajit
2024-3-20
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,
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manage Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!