This repository was archived by the owner on Mar 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Matlab cmd as script #112
Merged
Merged
Matlab cmd as script #112
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b859883
Implemented chages for running MATLAB command with script file.
115de89
Disabled console output related tests.
33c2cc5
Displaying user commands back on console output.
2e10f15
fixed some code formatting issue.
c9e7a8a
Added old tests backs and integ-test
1daefbb
Updated as per review comments.
b66a25d
Updates as per review comments
dbf4370
Updated help doc for custom Command.
220c6c7
Updated the typo in help text
6fdd233
Updated command help text as per review.
3e7f59e
updated command help text.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
src/main/resources/com/mathworks/ci/RunMatlabCommandBuilder/help-matlabCommand.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| <div> | ||
| Enter the command you want to run in MATLAB. If the command represents a MATLAB function or script, do not specify the file extension.<br> | ||
| <b>Examples:</b><br> | ||
| <b>Run commands:</b> results = runtests(‘IncludingSubfolders’,true); assert(all(~[results.Failed]))<br> | ||
| <b>Run a script:</b> runMyScript<br> | ||
| Insert the MATLAB commands you want to execute in the <b>Command</b> box. If you need to specify more than one command, use a comma or semicolon to separate the commands.<br> | ||
| <b>Example: </b>results = runtests, assertSuccess(results);<br><br> | ||
| If you need to specify several MATLAB commands, consider writing a MATLAB script or function and executing this script or function instead. (To run a script or function, do not specify the file extension.)<br> | ||
| <b>Example: </b>myscript<br> | ||
| <br> </br> | ||
| <b>Recommendation:</b>If you require a number of MATLAB commands to execute your build, consider writing a MATLAB script and executing the script file instead.<br> | ||
| <b>Note:</b> The build will fail if the execution of any MATLAB command causes an error. | ||
| <br> | ||
| <b>Note:</b><ul><li>The build fails if the execution of any command results in an error.</li> | ||
| <li>If the build uses a MATLAB version prior to R2020a, MATLAB might display non-ASCII characters, specified in the <b>Command</b> box, as garbled text. If you specify non-ASCII characters in your commands, consider running your commands as a .m or .mlx file created in the same locale that MATLAB uses on the build agent</li> | ||
| </ul> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.