Code covered by the BSD License  

Highlights from
MATLAB para Programadores C/C++

image thumbnail
from MATLAB para Programadores C/C++ by Elia Matsumoto
Webinar's slides and demo files.

setup.m
%% Setup color map
set(0,'DefaultFigureColormap','factory');

%% Turn off warning when plotting an image into a docked figure
warning off Images:truesize:dockedFigure

%% Big fonts
bigscreen('off');
largefonts('on');

%% Misc clean up
close all;
clc;

%% Set up desktop layout
com.mathworks.mde.desk.MLDesktop.getInstance.closeGroup('Figures');
com.mathworks.mde.desk.MLDesktop.getInstance.closeGroup('Array Editor');
com.mathworks.mlservices.MLEditorServices.closeAll;

%% Set compopts
copyfile('compopts with no dos window.bat',[prefdir '\compopts.bat']);
disp('Set compopts to no DOS window');

%% Delete files
deleteFiles={'daqwaterfall.ctf',...
    'daqwaterfall_main.c',...
    'daqwaterfall_mcc_component_data.c',...
    'mccExcludedFiles.log',...
    'daqwaterfall.exe'...
    'untitled1.fig'...
    'untitled1.m'};
for k=1:length(deleteFiles)
    if exist(deleteFiles{k},'file')
        delete(deleteFiles{k})
    end
end

%%
clear

Contact us at files@mathworks.com