Code covered by the BSD License
-
aplicacao(varargin)
APLICACAO M-file for aplicacao.fig
-
daqstopbutton_custom(fig,obj,...
DAQSTOPBUTTON Add a stop/start button to a data acquisition application
-
daqwaterfall(varargin)
daqwaterfall
-
untitled(varargin)
UNTITLED M-file for untitled.fig
-
createfigure(data_real1, data...
CREATEFIGURE(X1,Y1,DATA_REAL1,DATA_IMAG1,DATA_ABS1,DATA_IDEX1)
-
importfile(fileToRead1)
IMPORTFILE(FILETOREAD1)
-
soundcard( )
Define Soundcard input
-
vsunitcircle(data_real1, data...
VSUNITCIRCLE(DATA_REAL1,DATA_IMAG1)
-
vsunitcircle(data_real1, data...
VSUNITCIRCLE(DATA_REAL1,DATA_IMAG1)
-
setup.m
-
View all files
|
|
| importfile(fileToRead1)
|
function importfile(fileToRead1)
%IMPORTFILE(FILETOREAD1)
% Imports data from the specified file
% FILETOREAD1: file to read
% Auto-generated by MATLAB on 05-Apr-2009 21:08:22
% Import the file
rawData1 = importdata(fileToRead1);
% For some simple files (such as a CSV or JPEG files), IMPORTDATA might
% return a simple array. If so, generate a structure so that the output
% matches that from the Import Wizard.
[unused,name] = fileparts(fileToRead1); %#ok
newData1.(genvarname(name)) = rawData1;
% Create new variables in the base workspace from those fields.
vars = fieldnames(newData1);
for i = 1:length(vars)
assignin('base', vars{i}, newData1.(vars{i}));
end
|
|
Contact us at files@mathworks.com