Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcpath - not recognized as an internal or external command error #21

Closed
ryanmckindles opened this issue Jul 20, 2018 · 1 comment
Closed

Comments

@ryanmckindles
Copy link

A change in the mcpath file (line 30) from the previous version seems to have broken the ability to find files in the bin folder, typically executables.

Operating System: Windows 10
MATLAB: '9.2.0.538062 (R2017a)'
Error: '"cgalsurf.exe"' is not recognized as an internal or external command, operable program or batch file.
Current Code: mcpath (line 30) - if(exist(tempname,'file'))
Edited Code: mcpath (line 30) - if(exist([tempname getexeext],'file')) <-- looks for specific file (recommended)
Alternative Code: mcpath (line 30) - if(exist([fileparts(which(mfilename)) filesep 'bin'],'file')) <-- looks for the bin folder, this is how the previous version code worked.

@fangq fangq closed this as completed in e67caf7 Jul 21, 2018
@fangq
Copy link
Owner

fangq commented Jul 21, 2018

thanks for reporting this. This bug is now fixed in e67caf7. I updated the released packages to v1.9.0-1.

https://github.com/fangq/iso2mesh/releases/tag/v1.9.0-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants