Simulink Lesson Part3 AR
Simulink Lesson Part3 AR
.mdl ::
Model Editor
::
1- Menu Bar
2- Toolbar
3- Canvas
block diagram
4- Status Bar
ode45
ode3
:: M-file
:
function new_model(arab_eng)
% NEW_MODEL Create a new, empty Simulink model
% NEW_MODEL('MODELNAME') creates a new model with
% the name 'MODELNAME'. Without the 'MODELNAME'
% argument, the new model is named 'my_untitled'.
% the model name is arab_eng
if nargin == 0
arab_eng = 'arab_eng';
end
% create and open the model
open_system(new_system(arab_eng));
% set default screen color
set_param(arab_eng, 'ScreenColor', 'blue');
% set default solver
set_param(arab_eng, 'Solver', 'ode3');
% set default toolbar visibility
set_param(arab_eng, 'Toolbar', 'off');
% save the model
save_system(arab_eng);
Format Foreground color Background color
Screen color
set_param
RGB
::
::
:
Sample
Time
Annotating
Annotation Properties
::
M function Annotation
TeX
::
\alphara\beta-\iteng