from Testing of Simulink Models by Nitin Skandan
Shares my views on how to do testing of models in SIMULINK

testscript.m
%***********************************************************************
% 
% * Company: 
% 
% * File Name: testscript.m
% * Author : Nitin skandan
% * Version : 1.0
% * Description: 
% * Revisers Name : 
% * Date :7/2/06
% * Customer Bug No./ CMF No. : NA
% * Brief description of the fix/enhancement: NA
% ***********************************************************************/

clc ;

%To get the path name of excel sheet with test cases
[InpMatrix,headertext]= xlsread('testinputs.xls','TestCases') ;
simindynamic=InpMatrix(:,:);
siminstatic = InpMatrix(:,2:end) ;


Contact us at files@mathworks.com