diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7871ff3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,28 @@ +* text=auto + +*.fig binary +*.mat binary +*.mdl binary diff merge=mlAutoMerge +*.mdlp binary +*.mex* binary +*.mlapp binary +*.mldatx binary +*.mlproj binary +*.mlx binary +*.p binary +*.sfx binary +*.sldd binary +*.slreqx binary merge=mlAutoMerge +*.slmx binary merge=mlAutoMerge +*.sltx binary +*.slxc binary +*.slx binary merge=mlAutoMerge +*.slxp binary + +## Other common binary file types +*.docx binary +*.exe binary +*.jpg binary +*.pdf binary +*.png binary +*.xlsx binary diff --git a/Lab03.slx b/Lab03.slx new file mode 100644 index 0000000..98bf9f1 Binary files /dev/null and b/Lab03.slx differ diff --git a/Sim_pasto_50g.mdl b/Sim_pasto_50g.mdl new file mode 100644 index 0000000..70649cb --- /dev/null +++ b/Sim_pasto_50g.mdl @@ -0,0 +1,1309 @@ +# MathWorks OPC Text Package +Model { + Version 10.4 + Description "Simulink model saved in R2021b" +} +__MWOPC_PACKAGE_BEGIN__ R2021b +__MWOPC_PART_BEGIN__ /[Content_Types].xml + + + + + + + + + + + + + + + + + +__MWOPC_PART_BEGIN__ /_rels/.rels + + + + + + + + + + + + +__MWOPC_PART_BEGIN__ /metadata/coreProperties.xml + + + model + 2022-03-31T10:20:13Z + Diego Regruto + Diego Regruto + 2022-03-31T10:20:53Z + 1.1 + R2021b + + +__MWOPC_PART_BEGIN__ /metadata/mwcoreProperties.xml + + + application/vnd.mathworks.simulink.model + Simulink Model + R2021b + + +__MWOPC_PART_BEGIN__ /metadata/mwcorePropertiesExtension.xml + + + e3aa4eed-6aba-4fe6-8fff-35b11c28be6d + + +__MWOPC_PART_BEGIN__ /metadata/mwcorePropertiesReleaseInfo.xml + + + + 9.11.0.1809720 + R2021b + Update 1 + Nov 02 2021 + 3710740051 + + +__MWOPC_PART_BEGIN__ /simulink/_rels/blockdiagram.xml.rels + + + + + + + + + +__MWOPC_PART_BEGIN__ /simulink/_rels/configSetInfo.xml.rels + + + + + +__MWOPC_PART_BEGIN__ /simulink/bddefaults.xml + + + + + + + + + + + +

1

+

off

+

Port number

+

off

+

[]

+

[]

+

Inherit: auto

+

off

+

off

+

inherit

+

-1

+

Inherit

+

-1

+

auto

+

auto

+

off

+

Dialog

+

held

+

[]

+

off

+

off

+

0

+

on

+
+ +

FromPortIcon

+

ReadWrite

+

All

+

off

+

off

+

Sample time

+

-1

+

Auto

+

Auto

+

Auto

+

void_void

+

off

+

off

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

off

+

UseLocalSettings

+

AllNumericTypes

+

UseLocalSettings

+

off

+

off

+

NONE

+

off

+

expression

+

update diagram

+

off

+

off

+

on

+

off

+

off

+

off

+

0

+

off

+

off

+
+ +

round

+

++

+

All dimensions

+

1

+

off

+

Inherit: Inherit via internal rule

+

[]

+

[]

+

Inherit: Inherit via internal rule

+

off

+

Floor

+

off

+

-1

+
+ +

[1]

+

[1 2 1]

+

Auto

+

auto

+

''

+

auto

+
+
+
+ +__MWOPC_PART_BEGIN__ /simulink/blockdiagram.xml + + + +

85647d09-4899-42df-92e3-255e30aa473c

+ + + HDLSubsystem + $bdroot + + +

win64

+ +

%<Auto>

+

%<Auto>

+

570630016

+

%<AutoIncrement:1.1>

+
+ +

normal

+ +

$bdroot

+

0U

+ + $bdroot + + + [] + +
+
+ +

warning

+
+ + +

Ensure deterministic transfer (maximum delay)

+

Ensure data integrity only

+

Ensure deterministic transfer (minimum delay)

+

None

+
+
+ +
+
+ +__MWOPC_PART_BEGIN__ /simulink/configSet0.xml + + + +

[]

+

+ + +

[]

+

+

[]

+

0.0

+

10.0

+

auto

+

on

+

auto

+

auto

+

5

+

auto

+

10*128*eps

+

1000

+

4

+

1

+

auto

+

auto

+

1

+

1e-3

+

off

+

off

+

off

+

VariableStepAuto

+

auto

+

auto

+

DisableAll

+

UseLocalSettings

+

Nonadaptive

+

Auto

+

off

+

off

+

Fast

+

off

+

off

+

Unconstrained

+

Whenever possible

+

[]

+

off

+

off

+

ode3

+
+ +

[]

+

+

[]

+

1

+

[t, u]

+

xFinal

+

xInitial

+

off

+

1000

+

off

+

off

+

off

+

off

+

Dataset

+

Dataset

+

on

+

off

+

on

+

on

+

off

+

on

+

off

+

streamout

+

on

+

on

+

xout

+

tout

+

yout

+

logsout

+

dsmout

+

RefineOutputTimes

+

[]

+

out

+

1

+

off

+

timeseries

+

out.mat

+

[-inf, inf]

+
+ + + BooleansAsBitfields + PassReuseOutputArgsAs + PassReuseOutputArgsThreshold + ZeroExternalMemoryAtStartup + ZeroInternalMemoryAtStartup + OptimizeModelRefInitCode + NoFixptDivByZeroProtection + UseSpecifiedMinMax + EfficientTunableParamExpr + +

+

[]

+

on

+

on

+

on

+

Tunable

+

off

+

off

+

off

+

off

+

double

+

off

+

off

+

on

+

on

+

off

+

off

+

on

+

off

+

+

on

+

off

+

uint_T

+

Same as modeled

+

on

+

64

+

Structure reference

+

12

+

128

+

on

+

5

+

off

+

off

+

Native Integer

+

on

+

on

+

off

+

off

+

off

+

on

+

auto

+

Inherit from target

+

on

+

off

+

off

+

off

+

on

+

on

+

off

+

off

+

level2

+

Balanced

+

on

+

off

+

off

+

GradualUnderflow

+

off

+
+ + + UseOnlyExistingSharedCode + +

+

[]

+

error

+

none

+

none

+

none

+

error

+

none

+

UseLocalSettings

+

UseLocalSettings

+

UseLocalSettings

+

warning

+

warning

+

warning

+

warning

+

on

+

Simplified

+

error

+

off

+

UseLocalSettings

+

warning

+

warning

+

none

+

error

+

warning

+

warning

+

none

+

warning

+

error

+

error

+

error

+

none

+

warning

+

none

+

warning

+

none

+

warning

+

warning

+

error

+

error

+

none

+

warning

+

warning

+

none

+

none

+

none

+

none

+

none

+

none

+

error

+

none

+

warning

+

warning

+

warning

+

error

+

none

+

error

+

none

+

warning

+

warning

+

UseLocalSettings

+

on

+

off

+

none

+

error

+

none

+

none

+

warning

+

warning

+

none

+

warning

+

error

+

none

+

warning

+

error

+

none

+

warning

+

none

+

warning

+

ErrorLevel1

+

WarnAndRepair

+

none

+

warning

+

warning

+

error

+

error

+

none

+

warning

+

error

+

warning

+

error

+

warning

+

warning

+

warning

+

warning

+

error

+

warning

+

warning

+

warning

+

error

+

warning

+

all

+

warning

+

on

+

warning

+

warning

+

off

+

+

none

+

off

+

error

+

none

+
+ +

[]

+

+

[]

+

8

+

16

+

32

+

32

+

64

+

32

+

64

+

64

+

64

+

64

+

Char

+

Float

+

Zero

+

LittleEndian

+

64

+

on

+

off

+

Intel->x86-64 (Windows64)

+

8

+

16

+

32

+

32

+

64

+

32

+

64

+

32

+

32

+

32

+

Char

+

None

+

on

+

off

+

Undefined

+

Unspecified

+

32

+

32

+

32

+

Specified

+

off

+

on

+

on

+

on

+

EmbeddedCoderHSP

+
+ +

[]

+

+

[]

+

IfOutOfDateOrStructuralChange

+

on

+

error

+

off

+

on

+

None

+

Multi

+

Infer from blocks in model

+

+

on

+

off

+

on

+

off

+
+ +

[]

+

+

[]

+

+

+

+

+

[]

+

+

+

+

+

+

+

on

+

on

+

on

+

on

+

on

+

off

+

off

+

off

+

on

+

50

+

on

+

on

+

on

+

65536

+

off

+

[]

+

NotSpecified

+

FilterOut

+

off

+

None

+

+

generic

+

C

+

off

+

200

+

1024

+

off

+

+

+

mkl-dnn

+

on

+
+ + + IncludeHyperlinkInReport + GenerateTraceInfo + GenerateTraceReport + GenerateTraceReportSl + GenerateTraceReportSf + GenerateTraceReportEml + PortableWordSizes + GenerateWebview + GenerateCodeMetricsReport + GenerateCodeReplacementReport + GenerateMissedCodeReplacementReport + GenerateErtSFunction + CreateSILPILBlock + CodeExecutionProfiling + CodeProfilingSaveOptions + CodeProfilingInstrumentation + CodeStackProfiling + +

+

grt.tlc

+

None

+

off

+

off

+

+

off

+

make_rtw

+

on

+

off

+

+

grt_default_tmf

+

+

off

+

on

+

off

+

[]

+

off

+

off

+

off

+

off

+

on

+

off

+

+

+

+

+

+

+

+

+

+

+

+

Automatically locate an installed toolchain

+

Faster Builds

+

[]

+

off

+

off

+

off

+

None

+

off

+

executionProfile

+

SummaryOnly

+

off

+

off

+

C

+

None

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

[]

+

+

Off

+

1024

+

+

-1

+

discrete

+

200

+

off

+

1024

+

on

+

on

+

on

+

off

+

3.5

+

+

+

0

+

none

+

on

+

19.05

+

unspecified

+ + + + IgnoreCustomStorageClasses + IgnoreTestpoints + BlockCommentType + InsertBlockDesc + InsertPolySpaceComments + SFDataObjDesc + MATLABFcnDesc + SimulinkDataObjDesc + DefineNamingRule + SignalNamingRule + ParamNamingRule + InternalIdentifier + InlinedPrmAccess + CustomSymbolStr + CustomSymbolStrGlobalVar + CustomSymbolStrType + CustomSymbolStrField + CustomSymbolStrFcn + CustomSymbolStrModelFcn + CustomSymbolStrFcnArg + CustomSymbolStrBlkIO + CustomSymbolStrTmpVar + CustomSymbolStrMacro + CustomSymbolStrUtil + CustomSymbolStrEmxType + CustomSymbolStrEmxFcn + CustomUserTokenString + ReqsInCode + +

+

[]

+

+

off

+

on

+

Auto

+

on

+

off

+

31

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

1

+

8

+

$R$N$M

+

$N$R$M_T

+

$N$M

+

$R$N$M$F

+

$R$N

+

rt$I$N$M

+

rtb_$N$M

+

$N$M

+

$R$N$M

+

$N$C

+

emxArray_$M$N

+

emx$M$N

+

+

+

None

+

+

None

+

+

None

+

+

off

+

off

+

on

+

BlockPathComment

+

off

+

off

+

off

+

+

Shortened

+

Literals

+

off

+

off

+

[]

+

error

+
+ + + IncludeMdlTerminateFcn + SuppressErrorStatus + ERTCustomFileBanners + GenerateSampleERTMain + ExistingSharedCode + GenerateTestInterfaces + ModelStepFunctionPrototypeControlCompliant + GenerateAllocFcn + PurelyIntegerCode + SupportComplex + SupportAbsoluteTime + SupportContinuousTime + SupportNonInlinedSFcns + ParenthesesLevel + ERTMultiwordTypeDef + MultiwordTypeDef + RemoveDisableFunc + RemoveResetFunc + PreserveStateflowLocalDataDimensions + +

+

[]

+

ansi_tfl_table_tmw.mat

+

+

+

NOT IN USE

+

C99 (ISO)

+

None

+

Auto

+

System defined

+

2048

+

256

+

on

+

off

+

+

off

+

off

+

on

+

on

+

on

+

on

+

on

+

on

+

off

+

off

+

off

+

Auto

+

off

+

on

+

rt_

+

on

+

Nonreusable function

+

off

+

on

+

on

+

on

+

on

+

off

+

off

+

off

+

Nominal

+

Nominal

+

Simulink.SoftwareTarget.GRTCustomization

+

off

+

on

+

off

+

off

+

off

+

off

+

on

+

on

+

[]

+

[]

+

1,2,3,4,...

+

Size,Breakpoints,Table

+

Size,Breakpoints,Table

+

Column-major

+

error

+

$R$E

+

$R$E

+

$R_data

+ + SSE2 + +

off

+

off

+

off

+

off

+

1000000

+

0

+

ext_comm

+

+

Level1

+

off

+

off

+

off

+

off

+

off

+

Error

+
+
+
+ +

[]

+

Simulink Coverage Configuration Component

+

[]

+

Simulink Coverage

+

off

+

EntireSystem

+

on

+

off

+

/

+

covdata

+

+

dwe

+

+

+

off

+

on

+

on

+

off

+

off

+

covCumulativeData

+

off

+

on

+

slcov_output/$ModelName$

+

$ModelName$_cvdata

+

on

+

off

+

+

on

+

on

+

1e-05

+

0.01

+

off

+

0

+

0

+

Masking

+
+ +

[]

+

HDL Coder custom configuration component

+

[]

+

HDL Coder

+ + + +

0

+
+
+

Configuration

+

Solver

+

[ 0, 0, 0, 0 ]

+

+

+
+ +__MWOPC_PART_BEGIN__ /simulink/configSetInfo.xml + + + Configuration + + +__MWOPC_PART_BEGIN__ /simulink/graphicalInterface.xml + + +

0

+

0

+

+

0

+

0

+

0

+

0

+

0

+

0

+

0

+

Unset

+

0

+

Simulink

+

0

+

4

+ +

simulink/Sources/Ramp

+

$bdroot/Pasto_new/Ramp3

+

2

+

LIBRARY_BLOCK

+
+ +

simulink/Sources/Ramp

+

$bdroot/Pasto_new/Ramp4

+

3

+

LIBRARY_BLOCK

+
+ +

simulink/Sources/Ramp

+

$bdroot/Pasto_new/Ramp5

+

4

+

LIBRARY_BLOCK

+
+ +

simulink/Sources/Ramp

+

$bdroot/Pasto_new/Ramp7

+

5

+

LIBRARY_BLOCK

+
+

1

+
+ +__MWOPC_PART_BEGIN__ /simulink/modelDictionary.xml + + + + + + +__MWOPC_PART_BEGIN__ /simulink/ScheduleCore.xml + + + + + + + + + false + Default + -2147483648 + + + + +__MWOPC_PART_BEGIN__ /simulink/ScheduleEditor.xml + + + + + Default + graph.Graph + + + + HighNumberFirst + Default + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_root.xml.rels + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/system_1.xml + + +

[16, 52, 1309, 785]

+

[0.000000, 0.000000, 0.000000, 0.000000]

+

off

+

Deduce

+

Simulink

+ +

[0, 1]

+

[30, 25, 60, 55]

+

-1

+

1.488

+

simulink/Sources/Ramp

+

Ramp

+

SL

+ +

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

off

+

12

+

0

+

0

+

on

+
+
+ +

[0, 1]

+

[25, 90, 55, 120]

+

-2

+

1.488

+

simulink/Sources/Ramp

+

Ramp

+

SL

+ +

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

off

+

-12

+

30

+

0

+

on

+
+
+ +

[0, 1]

+

[25, 150, 55, 180]

+

-3

+

1.488

+

simulink/Sources/Ramp

+

Ramp

+

SL

+ +

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

off

+

-12

+

90

+

0

+

on

+
+
+ +

[0, 1]

+

[90, 190, 120, 220]

+

-4

+

1.488

+

simulink/Sources/Ramp

+

Ramp

+

SL

+ +

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

off

+

12

+

120

+

0

+

on

+
+
+ +

[4, 1]

+

[130, 130, 170, 170]

+

-5

+

off

+

|+|+|+|+

+

on

+

Inherit: Same as first input

+

on

+
+ +

[270, 132, 330, 168]

+

-6

+

[1/60]

+

[1 1/60]

+
+ +

[490, 28, 520, 42]

+

-7

+
+ +

1

+

2#out:1

+

[71, 0]

+

6#in:1

+
+ +

2

+

3#out:1

+

[56, 0]

+

6#in:2

+
+ +

3

+

4#out:1

+

[30, 0; 0, 6]

+

6#in:3

+
+ +

4

+

5#out:1

+

[25, 0]

+

6#in:4

+
+ +

5

+

6#out:1

+

7#in:1

+
+ +

6

+

7#out:1

+

[30, 0; 0, -105; 40, 0; 0, -10]

+

8#in:1

+
+ +

Modello +modificato

+

[275, 99, 322, 125]

+

[0, 0, 0, 0]

+

center

+

middle

+

-1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_root.xml + + +

[58, 108, 1054, 841]

+

[0.000000, 0.000000, 0.000000, 0.000000]

+

on

+

off

+

Deduce

+

simulink-default.rpt

+

9

+

Simulink

+ +

[0, 1]

+

[255, 115, 295, 175]

+

2

+

off

+ +
+
+ +__MWOPC_PART_BEGIN__ /simulink/windowsInfo.xml + + + + +

1

+

[58.0, 108.0, 996.0, 733.0]

+ +

1

+

Left

+

50

+

50

+

9

+

On

+
+ +

1

+
+ +

1

+

1

+

SimulinkTopLevel

+

0

+

[2728.0, 1550.0]

+

1.0

+

[0.0, 0.0]

+

[0.0, 0.0, 909.33333333333337, 516.66666666666663]

+
+ + +

GLUE2:PropertyInspector

+

Property Inspector

+

1

+

+

+

0

+

Right

+

213

+

160

+

On

+
+ +

Simulink:Editor:ReferencedFiles

+

Referenced Files

+

0

+

+

{"filterShowRefModels":"true","filterShowRefSubs":"true","filterShowOnlyDirtyFiles":"false"} +

+

0

+

Left

+

213

+

160

+

Unset

+
+
+

AAAA/wAAAAD9AAAAAwAAAAAAAAC9AAAB+PwCAAAABPsAAAAWAEQAbwBjAGsAVwBpAGQAZwBlAHQAMwEAAAAxAAAB+AAAAAAAAAAA+wAAABYARABvAGMAawBXAGkAZABnAGUAdAA0AAAAAAD/////AAAAAAAAAAD7AAAAUgBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQALwBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQAAAAAAP////8AAAEdAP////sAAABgAFMAaQBtAHUAbABpAG4AawA6AEUAZABpAHQAbwByADoAUgBlAGYAZQByAGUAbgBjAGUAZABGAGkAbABlAHMALwBSAGUAZgBlAHIAZQBuAGMAZQBkACAARgBpAGwAZQBzAAAAAAD/////AAABdAD///8AAAABAAAAAAAAAAD8AgAAAAH7AAAAVABHAEwAVQBFADIAOgBQAHIAbwBwAGUAcgB0AHkASQBuAHMAcABlAGMAdABvAHIALwBQAHIAbwBwAGUAcgB0AHkAIABJAG4AcwBwAGUAYwB0AG8AcgAAAAAA/////wAABPwA////AAAAAwAAAAAAAAAA/AEAAAAB+/////8AAAAAAP////8AAAQDAP///wAACw4AAAaRAAAAAQAAAAIAAAABAAAAAvwAAAADAAAAAAAAAAEAAAA2AGMAbwBsAGwAYQBwAHMAaQBiAGwAZQBQAGEAbgBlAGwAVABvAG8AbABCAGEAcgBMAGUAZgB0AwAAAAD/////AAAAAAAAAAAAAAABAAAAAQAAADgAYwBvAGwAbABhAHAAcwBpAGIAbABlAFAAYQBuAGUAbABUAG8AbwBsAEIAYQByAFIAaQBnAGgAdAMAAAAA/////wAAAAAAAAAAAAAAAwAAAAEAAAA6AGMAbwBsAGwAYQBwAHMAaQBiAGwAZQBQAGEAbgBlAGwAVABvAG8AbABCAGEAcgBCAG8AdAB0AG8AbQAAAAAA/////wAAAAAAAAAA

+ +

911a9d64-1af2-48fc-86ee-79e738216ac5

+
+

47303f40-3cff-4229-9448-4c745db51384

+
+
+ +__MWOPC_PACKAGE_END__