My error:
>>daq.getDevicesMaximum recursion limit of 1 reached. Use set(0,'RecursionLimit',N)to change the limit. Be aware that exceeding your available stack space cancrash MATLAB and/or your computer.Error in daq.getDevices
My computer is connected to a National Instrument Device and I want it to be detected. After putting in the following code in the scripting section, I kept getting an error even though I deleted it!
Here is the code.. I am trying to make a function with inputs and outputs:
function [m,s] = stat(x) n = length(x); m = sum(x)/n; s = sqrt(sum((x-m).^2/n)); values = [12.7, 45.4, 98.9, 26.6, 53.1]; [ave,stdev] = stat(values)
Best Answer