Undefined function ‘dts_cast_with_warning’ for input arguments of type ‘matlab.ui.Figure’.
Hello,
I’m implementing a function in mex file (on GPU) in MALTLAB. But I faced with the following error in MATLAB:
Undefined function ‘dts_cast_with_warning’ for input arguments of type ‘matlab.ui.Figure’.
Error in BPmimo2C (line 98)
figure
Error in test (line 29)
BPmimo2C_mex( Efield, f_par, xyz_par, TX, TY, numT, numR)
Here is where this error occurred (in the "figure" part):
…
…
…
for j = 1:numel(z)
hf(j,:,:) = z(j);
end
figure %************** here is where the error occurred
% figure(1);
er = squeeze(max(image,[],1));
h = surf(squeeze(uf(1,:,:)),squeeze(vf(1,:,:)),er);
colormap(jet);
set(h,’LineStyle’,’none’);
view(2);
Please help me solve this problem.
Thank youHello,
I’m implementing a function in mex file (on GPU) in MALTLAB. But I faced with the following error in MATLAB:
Undefined function ‘dts_cast_with_warning’ for input arguments of type ‘matlab.ui.Figure’.
Error in BPmimo2C (line 98)
figure
Error in test (line 29)
BPmimo2C_mex( Efield, f_par, xyz_par, TX, TY, numT, numR)
Here is where this error occurred (in the "figure" part):
…
…
…
for j = 1:numel(z)
hf(j,:,:) = z(j);
end
figure %************** here is where the error occurred
% figure(1);
er = squeeze(max(image,[],1));
h = surf(squeeze(uf(1,:,:)),squeeze(vf(1,:,:)),er);
colormap(jet);
set(h,’LineStyle’,’none’);
view(2);
Please help me solve this problem.
Thank you Hello,
I’m implementing a function in mex file (on GPU) in MALTLAB. But I faced with the following error in MATLAB:
Undefined function ‘dts_cast_with_warning’ for input arguments of type ‘matlab.ui.Figure’.
Error in BPmimo2C (line 98)
figure
Error in test (line 29)
BPmimo2C_mex( Efield, f_par, xyz_par, TX, TY, numT, numR)
Here is where this error occurred (in the "figure" part):
…
…
…
for j = 1:numel(z)
hf(j,:,:) = z(j);
end
figure %************** here is where the error occurred
% figure(1);
er = squeeze(max(image,[],1));
h = surf(squeeze(uf(1,:,:)),squeeze(vf(1,:,:)),er);
colormap(jet);
set(h,’LineStyle’,’none’);
view(2);
Please help me solve this problem.
Thank you matlab, gpu, figure, mex MATLAB Answers — New Questions