2.74 MATLAB code for Interface to Nucleo
Diff: Experiment_Example_MATLAB.m
- Revision:
- 3:ba19438ac09e
- Parent:
- 1:30408caaef92
- Child:
- 4:41f9e216a12d
--- a/Experiment_Example_MATLAB.m Wed Sep 09 23:19:10 2015 -0400 +++ b/Experiment_Example_MATLAB.m Thu Sep 10 12:00:44 2015 -0400 @@ -9,7 +9,7 @@ h2 = plot([0],[0]); h2.XData = []; h2.YData = []; ylabel('Velocity (counts/s)'); - + % This function will get called any time there is new data from % the FRDM board. Data comes in blocks, rather than one at a time. function my_callback(new_data) @@ -36,7 +36,7 @@ output_size = 3; % number of outputs expected output_data = RunExperiment(frdm_ip,frdm_port,input,output_size,params); - + end