Skip to content

Commit

Permalink
added two files for mac system and linux system
Browse files Browse the repository at this point in the history
  • Loading branch information
changqj committed Oct 27, 2022
1 parent 9faa0e9 commit 3ee5645
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion triangle.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
fclose(fid);
if ispc
[status,~] = dos(['triangle -pqa' s{1} 'Dg ' filename '.poly']);
elseif ismac
[status,~] = system(['triangle_mos -pqa' s{1} 'Dg ' filename '.poly']);
elseif isunix
[status,~] = system(['/home/chang/github/triangle/triangle -pqa' s{1} 'Dg ' filename '.poly']);
[status,~] = system(['triangle_unix -pqa' s{1} 'Dg ' filename '.poly']);
else
disp("Error");
end
Expand Down
Binary file added triangle_mos
Binary file not shown.
Binary file added triangle_unix
Binary file not shown.

0 comments on commit 3ee5645

Please sign in to comment.