Skip to content

Commit

Permalink
Fixed Results folder for Mini Golf
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller01985 committed Apr 28, 2022
1 parent c9e70cc commit 3aee5de
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 2 deletions.
Binary file modified Examples/2D/Mini_Golf/Mini_Golf_Results.xls
Binary file not shown.
5 changes: 5 additions & 0 deletions Examples/2D/Mini_Golf/Results/README_run_course.txt
@@ -0,0 +1,5 @@
Run MATLAB script Mini_Golf_Run_Course.m
That code will run each hole and save the path of the ball
on each hole to this folder as a MATLAB figure.

Copyright 2012-2022 The MathWorks(TM), Inc.
2 changes: 1 addition & 1 deletion Examples/2D/Mini_Golf/Scripts_Data/Mini_Golf_Run_Course.m
Expand Up @@ -35,7 +35,7 @@
MGT.SimTime(hole_i) = Elapsed_Sim_Time;

% SAVE FIGURE WINDOWS TO A FILE
saveas(gcf,['./Results/Ball_Path_' HoleList(hole_i).Name],'fig');
saveas(gcf,[pwd filesep 'Results' filesep 'Ball_Path_' HoleList(hole_i).Name],'fig');
close(gcf);
end

Expand Down
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -8,7 +8,9 @@ They can be used for intermittent contact (parts bouncing off each other)
and persistent contact (parts resting on each other).

**Please note that the Spatial Contact Force block has been added in R2019b.**
**You should see if this block meets your needs before using this library.**
**You should see if this block meets your needs before using this library.**

**See File Exchange submission [Spatial Contact Force Examples Simscape Multibody](https://www.mathworks.com/matlabcentral/fileexchange/109680-spatial-contact-force-examples-simscape-multibody)**

You are welcome to use these models in your own projects. If you need to
include the library in your own example, I recommend you use just the
Expand Down
@@ -0,0 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="b580afb4-ad06-4060-9b24-7ee8a8cdebcd"/>
</Category>
</Info>

0 comments on commit 3aee5de

Please sign in to comment.