Open carlacwinter1 opened 3 years ago
Attached here is the full command output with errors:
RESOLVED:
Did you get it to work in the end on Mac OS, or is it just a no-go? If Mac OS doesn't work, I'll have to think of another solution. So I hope there is a work-around.....
I couldn't get it to work on a Mac. I believe "del" (where I was having initial error) is a windows command
You could partition Windows on your Mac with bootcamp
Hi there,
I got exactly the same error with Mac OS M1. I tried to work it out but didn't found a solution. I am now using a Windows to run the example to see if it works here.
When somebody find something I am happy to try it with the Mac again.
I forgot to mention that I was able to run elastix with Matlab by disabling the SIP in the recovery mode, adding the elastix PATH to .bashirsc and running Matlab with the terminal. (And enabling SIP again) However, this didn't resolve the del issue and I got the same error : Error using
Error using STEP_5_Transform_and_ROI_drawing (line 66) The source code (/Users/matthias/Documents/MATLAB/AMaSiNe/Amasine_test/STEP_5_Transform_and_ROI_drawing.m) for the parfor-loop that is trying to execute on the worker could not be found.
Caused by: Unrecognized function or variable 'matched_img'. Error using remoteParallelFunction (line 84) Worker unable to find file. Unrecognized function or variable 'matched_img'.
Hey everyone,
I am also having the same issue (doesn't work on M1 mac) and now using a windows machine but I'm getting the matched image error message on step 5:
Error using STEP_5_Transform_and_ROI_drawing The source code (C:\AMaSiNe-master\STEP_5_Transform_and_ROI_drawing.m) for the parfor-loop that is trying to execute on the worker could not be found.
Caused by: Unrecognized function or variable 'matched_img'. Error using remoteParallelFunction Worker unable to find file. Unrecognized function or variable 'matched_img'.
How exactly did you fix this?
Thanks, Lucy
Hi there,
Thanks so much for providing this useful set of code!
I'm currently going through the tutorial with the example images you provide, but I'm running into an issue once I get to STEP_4 and beyond. When I try to run STEP_4 (and STEP_5), I get an error saying "/bin/bash: del: command not found".
Despite this error, STEP_4 completes and creates the "Step_4_Angle_Search_Result.mat" file, and finds corresponding slices.
I get no errors for Step_4to5
However, in STEP_5, I get the same error as in STEP_4 AND an additional error and then it quits:
I assume this is stemming from Elastix not being loaded properly into my system path. I am working on a Mac, and have added Elastix to the Path via the following in my terminal:
So based on this, I think Elastix is correctly added to my system path. So I'm not sure where my error messages are coming from.
Any insight you have would be greatly appreciated. Thanks!