Skip to content

Commit 3f36fa4

Browse files
1st version R2024a
0 parents  commit 3f36fa4

File tree

400 files changed

+4097
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

400 files changed

+4097
-0
lines changed

.gitattributes

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
*.fig binary
2+
*.mat binary
3+
*.mdl binary diff merge=mlAutoMerge
4+
*.mdlp binary
5+
*.mex* binary
6+
*.mlapp binary
7+
*.mldatx binary
8+
*.mlproj binary
9+
*.mlx binary
10+
*.p binary
11+
*.sfx binary
12+
*.sldd binary
13+
*.slreqx binary merge=mlAutoMerge
14+
*.slmx binary merge=mlAutoMerge
15+
*.sltx binary
16+
*.slxc binary
17+
*.slx binary merge=mlAutoMerge
18+
*.slxp binary
19+
20+
## Other common binary file types
21+
*.docx binary
22+
*.exe binary
23+
*.jpg binary
24+
*.pdf binary
25+
*.png binary
26+
*.xlsx binary

.github/workflow/ci.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# GitHub Actions Workflow with MATLAB Actions
2+
#
3+
# For a general overview of GitHub Actions, see
4+
# https://docs.github.com/en/actions
5+
#
6+
# For using MathWorks products in GitHub Actions, see
7+
# https://github.com/matlab-actions/overview
8+
#
9+
# For details about the syntax of this file, see
10+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
11+
12+
# Copyright 2024 The MathWorks, Inc.
13+
14+
name: CI using MATLAB
15+
16+
on:
17+
push:
18+
paths-ignore:
19+
- 'docs/**'
20+
- '**.md'
21+
- '**.png'
22+
- '**.svg'
23+
- '**.txt'
24+
- '**.xml'
25+
26+
pull_request:
27+
paths-ignore:
28+
- 'docs/**'
29+
- '**.md'
30+
- '**.png'
31+
- '**.svg'
32+
- '**.txt'
33+
- '**.xml'
34+
35+
schedule:
36+
- cron: '55/61 20/25 1/6 * *' # schedule a weekly-ish build
37+
38+
jobs:
39+
40+
job-check-project:
41+
runs-on: ubuntu-latest
42+
steps:
43+
44+
- name: Check out repository
45+
uses: actions/checkout@v3
46+
47+
- name: Setup MATLAB
48+
uses: matlab-actions/setup-matlab@v1
49+
with:
50+
release: R2024a
51+
52+
- name: Run tests
53+
uses: matlab-actions/run-command@v1
54+
with:
55+
command: openProject(pwd); TestRunner;

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Autosave files
2+
*.asv
3+
*.m~
4+
*.autosave
5+
*.slx.r*
6+
*.mdl.r*
7+
8+
# Derived content-obscured files
9+
*.p
10+
11+
# Compiled MEX files
12+
*.mex*
13+
14+
# Packaged app and toolbox files
15+
*.mlappinstall
16+
*.mltbx
17+
18+
# Deployable archives
19+
*.ctf
20+
21+
# Generated helpsearch folders
22+
helpsearch*/
23+
24+
# Code generation folders
25+
slprj/
26+
sccprj/
27+
codegen/
28+
29+
# Cache files
30+
*.slxc
31+
32+
# Cloud based storage dotfile
33+
.MATLABDriveTag

Component/Component.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
All component files will be in Component folder.
2+
3+
Copyright 2024 The MathWorks, Inc.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
classdef ForceComputation < int32
2+
% Enumeration class for tractor implement options in custom block implement.
3+
4+
% Copyright 2024 The MathWorks, Inc.
5+
6+
enumeration
7+
Calculate(1)
8+
UserInput(2)
9+
end
10+
11+
methods (Static, Hidden)
12+
function map = displayText()
13+
map = containers.Map;
14+
map('Calculate') = 'Draft force prediction based on ASABE D497.5 standard';
15+
map('UserInput') = 'Specify vectors for draft force, vertical force and velocity';
16+
end
17+
end
18+
end

Component/Library/ImplementType.m

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
classdef ImplementType < int32
2+
% Enumeration class for tractor implement options in custom block implement.
3+
4+
% Copyright 2024 The MathWorks, Inc.
5+
6+
enumeration
7+
Subsoiler(1)
8+
MoldboardPlow(2)
9+
ChiselPlow(3)
10+
SweepPlow(4)
11+
FieldCultivator(5)
12+
end
13+
14+
methods (Static, Hidden)
15+
function map = displayText()
16+
map = containers.Map;
17+
map('Subsoiler') = 'Subsoiler - narrow point';
18+
map('MoldboardPlow') = 'Moldboard Plow';
19+
map('ChiselPlow') = 'Chisel Plow - 5 cm straight point';
20+
map('SweepPlow') = 'Sweep Plow for primary tillage';
21+
map('FieldCultivator') = 'Field Cultivator for primary tillage';
22+
end
23+
end
24+
end

0 commit comments

Comments
 (0)