Code covered by the BSD License  

Highlights from
Companion software for the book "Simulink 7.2 - Guia Pratico"

image thumbnail
from Companion software for the book "Simulink 7.2 - Guia Pratico" by Elia Matsumoto
Supplemental set of MATLAB M-files and Simulink models.

Exercicio_2C.m
% Exerccio_2C.m
%
%% Nome do arquivo
Arq = 'Simulink_Exercicios.xls';

%% Nome da planilha
Planilha = 'Exercicio_2A_e_2B'; 

%% L tabela de produo de carros por Ms
m1 = xlsread(Arq, Planilha, 'B3:D4');

%% L tabela de custo de produo por carro no ms
m2 = xlsread(Arq, Planilha, 'B8:D9');

%% L tabela quantidade de peas do tipo P1 e P2 utilizadas para
% produzir cada um dos tipos de carros (C1, C2, C3):
m3 = xlsread(Arq, Planilha, 'B13:D14');

Contact us at files@mathworks.com