Skip to content

Commit b7da279

Browse files
committed
Maintenance for R2025b
* Update to new startup app * Improve ci.yml * Standardize project details * Remove reference to emailing for solutions in README as the solutions are included in Instructor Resources * Update identity as the MathWorks Educator Content Development team
1 parent b587696 commit b7da279

File tree

183 files changed

+610
-479
lines changed

Some content is hidden

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

183 files changed

+610
-479
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
MATLABVersion: [R2024a,R2024b]
22+
MATLABVersion: [R2024b,R2025a]
2323
runs-on: ubuntu-latest
24+
env:
25+
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2426
steps:
2527
# Checks-out your repository
2628
- uses: actions/checkout@v4

.gitlab-ci.yml

Lines changed: 0 additions & 87 deletions
This file was deleted.

MainMenu.mlx

-8 Bytes
Binary file not shown.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
# <span style="color:rgb(213,80,0)">Programming: Structuring Code</span>
33

4+
Learn how to write and document functions, and how to debug, comment on, and share your code.
45

56
[![View on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/115905-programming-structuring-code) or [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=README.mlx)
67

@@ -24,7 +25,7 @@ The instructions inside the live scripts will guide you through the exercises an
2425

2526
## Contact Us
2627

27-
Solutions are available upon instructor request. Contact the [MathWorks teaching resources team](mailto:onlineteaching@mathworks.com) if you would like to request solutions, provide feedback, or if you have a question.
28+
Contact the [MathWorks Educator Content Development Team](mailto:onlineteaching@mathworks.com) if you would like to request assistance, provide feedback, or if you have a question.
2829

2930

3031
## Prerequisites
@@ -103,9 +104,9 @@ Or feel free to explore our other [modular courseware content](https://www.mathw
103104

104105
# Contribute
105106

106-
Looking for more? Find an issue? Have a suggestion? Please contact the [MathWorks teaching resources team](mailto:%20onlineteaching@mathworks.com). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/Programming-Structuring-Code/blob/release/CONTRIBUTING.md) page on GitHub.
107+
Looking for more? Find an issue? Have a suggestion? Please contact the [MathWorks Educator Content Development Team](mailto:%20onlineteaching@mathworks.com). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/Vector-Arithmetic/blob/release/CONTRIBUTING.md) page on GitHub.
107108

108109

109-
*©* Copyright 2024 The MathWorks, Inc
110+
*©* Copyright 2025 The MathWorks, Inc
110111

111112

README.mlx

-9 Bytes
Binary file not shown.

SoftwareTests/CreateBadge.m

Lines changed: 0 additions & 82 deletions
This file was deleted.

SoftwareTests/PostSmokeTest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function PostSmokeTest(ShowReport)
3232
% Format the results in a table and save them
3333
Results = table(Results');
3434
Version = extractBetween(string(Results.Name),"Version=",")");
35-
Passed = Results.Passed;
35+
Passed = logical(Results.Passed);
3636

3737
% Add link to other report
3838
File = fileread(fullfile("public","index.html"));
@@ -51,7 +51,7 @@ function PostSmokeTest(ShowReport)
5151
Badge.message = join("R"+Version," | ");
5252
elseif any(Passed)
5353
Badge.color = "yellowgreen";
54-
Badge.message = join("R")
54+
Badge.message = join("R"+Version(Passed)," | ");
5555
elseif all(~Passed)
5656
Badge.color = "critical";
5757
Badge.message = join("R"+Version," | ");

SoftwareTests/SolnSmokeTests.m

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function SetUpPath(testCase,Project)
5555
% Check that solutions are on path:
5656
testCase.isSolnOnPath = isfolder("Solutions");
5757
if testCase.isSolnOnPath == 0
58-
addpath(fullfile(testCase.RootFolder,"InstructorResources","Solutions"))
58+
addpath(genpath(fullfile(testCase.RootFolder,"InstructorResources","Solutions")))
5959
end
6060

6161
% Close the StartUp app if still open:
@@ -163,4 +163,14 @@ function SmokeRun(testCase,File)
163163

164164
end % Private Access Methods
165165

166+
methods (TestClassTeardown)
167+
168+
function ResetPath(testCase)
169+
if ~testCase.isSolnOnPath && exist("Solutions","dir")
170+
rmpath(genpath(fullfile(currentProject().RootFolder,"InstructorResources","Solutions")))
171+
end
172+
end
173+
174+
end % TestClassTeardown
175+
166176
end % SolnSmokeTests

SoftwareTests/TestResults_R2023b.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.
-96.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)