You might try wrapping the call to the function in an evalc:
evalc('out = func(arg1, arg2);');
More Related Contents:
- Is it possible to define more than one function per file in MATLAB, and access them from outside that file?
- How to elegantly ignore some return values of a MATLAB function
- How can I apply a function to every row/column of a matrix in MATLAB?
- Passing functions as arguments in Matlab
- How to interpolate with MATLAB 3D usind scatteredinterpolant plot? [closed]
- Matlab how to save a modified image from axes [closed]
- how to get a single feature vector from SIFT descriptor [closed]
- How to get all files under a specific directory in MATLAB?
- Generate random number with given probability matlab
- Loop through files in a folder in matlab
- Use a vector as an index to a matrix
- How to concatenate a number to a variable name in MATLAB?
- Matlab – PCA analysis and reconstruction of multi dimensional data
- Printing a MATLAB plot in exact dimensions on paper
- Deleting matrix elements by = [] vs reassigning matrix
- Retraining after Cross Validation with libsvm
- Proper way to add noise to signal
- fast 2dimensional histograming in matlab
- Matlab file name with zero-padded numbers
- How can I sort a 2-D array in MATLAB with respect to one column?
- Attempt to execute script as a function
- What are some efficient ways to combine two structures in MATLAB?
- Difference of handle and values classes
- MATLAB: Differences between .mat versions
- In Matlab, is it possible to terminate a script, but save all its internal variables to workspace?
- How to change an image from Cartesian to Polar coordinates in Matlab?
- How to use Hash Tables (dictionaries) in MATLAB? [duplicate]
- How to draw a line on an image in matlab?
- Matlab: arrayfun, cellfun, spfun and structfun vs. simple for-loop
- Automatically maximize a figure