Category : matlab

We have 2 ways to open a file with an application: Double-click on a file in the explorer. Windows explorer will search for its extension in the registry, find the default application command line (CLI) format string, substitute the "%1" argument with the file’s path, and finally run the CLI. Directly call the application in ..

Read more

I’ve been using a MATLAB program to perform some gridding for the past couple days and all of a sudden it stopped working and started giving the following error message: Invalid MEX-file ‘/home/user/ReconCode/gpuNUFFT-master/gpuNUFFT/@gpuNUFFT/private/mex_gpuNUFFT_precomp_f.mexa64′: libcufft.so.7.5: cannot open shared object file: No such file or directory. Error in gpuNUFFT (line 104) [res.op.dataIndices,res.op.sectorDataCount,res.op.densSorted,res.op.coords,res.op.sectorCenters,res.op.sectorProcessingOrder,res.op.deapoFunction] = mex_gpuNUFFT_precomp_f(single(k)’,single(w)’,res.op.params); Error in MCNUFFT_GPU_indv ..

Read more

I’m trying to create an add-in for Excel with Matlab, where the end goal is to import data and graphs. I’ve managed to paste the current figure in Matlab to Excel using the code below: function xlsPasteToCOPY(filename,sheetname,width, height,varargin) %Paste current figure to selected Excel sheet and cell % % % xlsPasteTo(filename,sheetname,width, height,range) %Example: %xlsPasteTo(‘File.xls’,’Sheet1′,200, 200,’A1′) ..

Read more