From: kk KKsingh on 24 Jun 2010 16:48 Hi ! I am trying to run a file its from J Fessler libray ! When i type nufft ! it runs a .m file which uses some function and it gives following error Undefined function or method 'isvar' for input arguments of type 'char'. its when function is trying to execute these lines Error in ==> nufft2_err_mm at 32 if ~isvar('alpha') | isempty(alpha) Error in ==> nufft at 39 printm('err alf1 %g best %g', ... if ~isvar('alpha') | isempty(alpha) alpha = [1]; % default Fourier series coefficients of scaling factors end if ~isvar('beta') | isempty(beta) beta = 0.5; % default is Liu version for now end
From: Walter Roberson on 24 Jun 2010 17:19 kk KKsingh wrote: > I am trying to run a file its from J Fessler libray ! > > When i type nufft ! it runs a .m file which uses some function and it > gives following error > > Undefined function or method 'isvar' for input arguments > of type 'char'. isvar() is not provided by Mathworks; it is perhaps provided by a different portion of the library. You can write your own isvar() as isvar = @(name) exist(name, 'var');
|
Pages: 1 Prev: how to reduce delay in the audio input and output? Next: MATLAB Builder JA and Eclipse |