0% found this document useful (0 votes)
22 views10 pages

Simulink Lesson Part3 AR

The document discusses basics of Simulink modeling including opening Simulink, the model editor interface, updating block diagrams, viewing signal data types, and how to create a template for new models with customized settings and colors. It also explains how to change block and background colors.

Uploaded by

koko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views10 pages

Simulink Lesson Part3 AR

The document discusses basics of Simulink modeling including opening Simulink, the model editor interface, updating block diagrams, viewing signal data types, and how to create a template for new models with customized settings and colors. It also explains how to change block and background colors.

Uploaded by

koko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

::

.mdl ::

Model Editor
::

1- Menu Bar


2- Toolbar



3- Canvas
block diagram
4- Status Bar

Updating a Block Diagram


signal data types
sample times Updating a Block Diagram

Edit Update Diagram
Ctrl+D ..

Format Port/Signal Displays




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

::
::
:

;)'set_param(arab_eng, 'ScreenColor', 'blue

)']set_param(arab_eng, 'ScreenColor', '[0.3, 0.9, 0.5

Sample
Time

Format Sample Time Colors


Update Diagram Edit .

Annotating


Annotation Properties
::

M function Annotation

Using TeX Formatting Commands in


Annotations
TeX Formatting

1 annotation Enable TeX Commands
::

TeX
::


\alphara\beta-\iteng

You might also like