Skip to content

Commit 0a789fe

Browse files
authored
Update README.md
Fix direct links to files for Open in MATLAB Online
1 parent 9c1668d commit 0a789fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,22 @@ MATLAB®
5353

5454
<a name="H_E8C62B23"></a>
5555
# Scripts
56-
## [**Functions.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=Functions.mlx)
56+
## [**Functions.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=Scripts/Functions.mlx)
5757
| `Functions` | **In this script, students will...** | **Summary** |
5858
| :-- | :-- | :-- |
5959
| <img src="Images/Refactor.png" width="171" alt="Refactor.png"> |<br>- use mathematical functions to use MATLAB as a calculator. <br>- use the documentation to locate functions and determine how to use them. <br>- write simple functions with inputs, outputs, and side effects, and ensure the functions are on your MATLAB path. <br>- pass functions as arguments by using function handles. | Organizing code into functions improves the readability, reusability, and ease of testing. This script addresses built-in functions, refactoring code to create functions, local functions, functions defined in their own files, programmatic scope and the MATLAB path, and how to pass functions as arguments to other functions. |
6060

61-
## [**Debugging.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=Debugging.mlx)
61+
## [**Debugging.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=Scripts/Debugging.mlx)
6262
| `Debugging` | **In this script, students will...** | **Summary** |
6363
| :-- | :-- | :-- |
6464
| <img src="Images/StoppedAtBreakpoint.png" width="171" alt="StoppedAtBreakpoint.png"> |<br>- identify warning messages and locate and fix the problem. <br>- locate and fix syntax errors. <br>- recognize and isolate run-time errors. | Everyone makes mistakes when coding or interacting with computer programs, but you can fix these mistakes. This script introduces the MATLAB Code Analyzer, errors, warnings, breakpoints, stepping, and other tools for minimizing errors as well as identifying and removing bugs from your programs. |
6565

66-
## [**CommentingCode.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=CommentingCode.mlx)
66+
## [**CommentingCode.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=Scripts/CommentingCode.mlx)
6767
| `Commenting Code` | **In this script, students will...** | **Summary** |
6868
| :-- | :-- | :-- |
6969
| <img src="Images/Comment.png" width="171" alt="Comment.png"> |<br>- write comments and documentation for a self-defined function. <br>- select meaningful variable names and add code and documentation to an existing function. | Clearly documenting and communicating your thinking is essential to program with others or even your future self. This script addresses why and how you should document and comment your code. |
7070

71-
## [**SharingCode.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=SharingCode.mlx)
71+
## [**SharingCode.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=Scripts/SharingCode.mlx)
7272
| `Sharing Code` | **In this script, students will...** | **Summary** |
7373
| :-- | :-- | :-- |
7474
| <img src="Images/CodeCompare.png" width="171" alt="CodeCompare.png"> |<br>- add scripts to a project. <br>- clone a GitHub repository. <br>- use the Compare tool to see differences between two versions of the same live script | Writing code for yourself is the first step, but when you create something useful or interesting, you also need to know how to share your work with others. This script offers a brief introduction to sharing your code with others. |

0 commit comments

Comments
 (0)