Skip to content

Commit d962e99

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 * Fix an intermittant test failure by restricting the value of the end points for an annotation to stay within the figure in ChaosGame
1 parent b3d40a4 commit d962e99

File tree

225 files changed

+769
-352
lines changed

Some content is hidden

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

225 files changed

+769
-352
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.yaml

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

.gitlab-ci.yml

Lines changed: 0 additions & 87 deletions
This file was deleted.
-682 Bytes
Binary file not shown.

MainMenu.mlx

-1.8 KB
Binary file not shown.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
21
# <span style="color:rgb(213,80,0)">Fundamentals of Programming</span>
32

3+
Learn the underlying concepts of code, data, arrays, branching, loops, and algorithms.
44

55
[![View on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/103225-fundamentals-of-programming) 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/Fundamentals-of-Programming&project=FundamentalsofProgramming.prj&file=README.mlx)
66

@@ -23,7 +23,7 @@ The instructions inside the live scripts will guide you through the exercises an
2323

2424
## Contact Us
2525

26-
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.
26+
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.
2727

2828

2929
## Prerequisites
@@ -128,9 +128,9 @@ Or feel free to explore our other [modular courseware content](https://www.mathw
128128

129129
# How to Contribute
130130

131-
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/Fundamentals-of-Programming/blob/release/CONTRIBUTING.md) page on GitHub.
131+
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.
132132

133133

134-
*©* Copyright 2023 The MathWorks, Inc
134+
*©* Copyright 2025 The MathWorks, Inc
135135

136136

README.mlx

6 Bytes
Binary file not shown.

Scripts/ChaosGameProject.mlx

-2.08 KB
Binary file not shown.

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/SmokeTests.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
function File = RetrieveFile(Project) %#ok<INUSD>
1919
% Retrieve student template files:
2020
RootFolder = currentProject().RootFolder;
21-
File = dir(fullfile(RootFolder,"Scripts","*.mlx"));
21+
File = dir(fullfile(RootFolder,"Scripts","*.m*"));
2222
File = {File.name};
2323
end
2424

@@ -117,7 +117,7 @@ function SmokeRun(testCase,File)
117117
methods (Access = private)
118118

119119
function Path = CheckPreFile(testCase,Filename)
120-
PreFile = "Pre"+replace(Filename,".mlx",".m");
120+
PreFile = "Pre"+extractBefore(Filename,".m")+".m";
121121
PreFilePath = fullfile(testCase.RootFolder,"SoftwareTests","PreFiles",PreFile);
122122
if ~isfolder(fullfile(testCase.RootFolder,"SoftwareTests/PreFiles"))
123123
mkdir(fullfile(testCase.RootFolder,"SoftwareTests/PreFiles"))
@@ -133,7 +133,7 @@ function SmokeRun(testCase,File)
133133
end
134134

135135
function Path = CheckPostFile(testCase,Filename)
136-
PostFile = "Post"+replace(Filename,".mlx",".m");
136+
PostFile = "Post"+extractBefore(Filename,".m")+".m";
137137
PostFilePath = fullfile(testCase.RootFolder,"SoftwareTests","PostFiles",PostFile);
138138
if ~isfolder(fullfile(testCase.RootFolder,"SoftwareTests/PostFiles"))
139139
mkdir(fullfile(testCase.RootFolder,"SoftwareTests/PostFiles"))

0 commit comments

Comments
 (0)