Simulink A*PathPlan​ningAndObs​tacleAvoid​anceInWare​house during model compiling "The system cannot find the path specified. 0 file(s) copied"

7 views (last 30 days)
While trying to run the A*PathPlanningAndObstacleAvoidanceInWarehouse example I ran into the following error
Error:Making simulation target aStarPathPlanningAndObstacleAvoidanceInWarehouse_sfun.
"C:\Program Files\MATLAB\R2023a\bin\win64\mex.exe" -R2018a -c -DMATLAB_MEX_FILE -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample\slprj\_sfprj\astarpathplanningandobstacleavoidanceinwarehouse\_self\sfun\src" -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample" -I"C:\Program Files\MATLAB\R2023a\extern\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include\sf_runtime" -I"C:\Program Files\MATLAB\R2023a\stateflow\c\mex\include" -I"C:\Program Files\MATLAB\R2023a\rtw\c\src" -I"C:\Warehose Robotics Management Simulation\Examples\APathPlanningAndObstacleAvoidanceInAWarehouseExample\slprj\_sfprj\aStarPathPlanningAndObstacleAvoidanceInWarehouse\_self\sfun\src" -I"C:\Program Files\MATLAB\R2023a\extern\include\nav" CFLAGS="$CFLAGS " aStarPathPlanningAndObstacleAvoidanceInWarehouse_sfun.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
"C:\Program Files\MATLAB\R2023a\bin\win64\mex.exe" -R2018a -c -DMATLAB_MEX_FILE -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample\slprj\_sfprj\astarpathplanningandobstacleavoidanceinwarehouse\_self\sfun\src" -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample" -I"C:\Program Files\MATLAB\R2023a\extern\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include\sf_runtime" -I"C:\Program Files\MATLAB\R2023a\stateflow\c\mex\include" -I"C:\Program Files\MATLAB\R2023a\rtw\c\src" -I"C:\Warehose Robotics Management Simulation\Examples\APathPlanningAndObstacleAvoidanceInAWarehouseExample\slprj\_sfprj\aStarPathPlanningAndObstacleAvoidanceInWarehouse\_self\sfun\src" -I"C:\Program Files\MATLAB\R2023a\extern\include\nav" CFLAGS="$CFLAGS " aStarPathPlanningAndObstacleAvoidanceInWarehouse_sfun_registry.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
"C:\Program Files\MATLAB\R2023a\bin\win64\mex.exe" -R2018a -c -DMATLAB_MEX_FILE -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample\slprj\_sfprj\astarpathplanningandobstacleavoidanceinwarehouse\_self\sfun\src" -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample" -I"C:\Program Files\MATLAB\R2023a\extern\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include\sf_runtime" -I"C:\Program Files\MATLAB\R2023a\stateflow\c\mex\include" -I"C:\Program Files\MATLAB\R2023a\rtw\c\src" -I"C:\Warehose Robotics Management Simulation\Examples\APathPlanningAndObstacleAvoidanceInAWarehouseExample\slprj\_sfprj\aStarPathPlanningAndObstacleAvoidanceInWarehouse\_self\sfun\src" -I"C:\Program Files\MATLAB\R2023a\extern\include\nav" CFLAGS="$CFLAGS " c1_aStarPathPlanningAndObstacleAvoidanceInWarehouse.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
"C:\Program Files\MATLAB\R2023a\bin\win64\mex.exe" -R2018a -c -DMATLAB_MEX_FILE -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample\slprj\_sfprj\astarpathplanningandobstacleavoidanceinwarehouse\_self\sfun\src" -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample" -I"C:\Program Files\MATLAB\R2023a\extern\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include\sf_runtime" -I"C:\Program Files\MATLAB\R2023a\stateflow\c\mex\include" -I"C:\Program Files\MATLAB\R2023a\rtw\c\src" -I"C:\Warehose Robotics Management Simulation\Examples\APathPlanningAndObstacleAvoidanceInAWarehouseExample\slprj\_sfprj\aStarPathPlanningAndObstacleAvoidanceInWarehouse\_self\sfun\src" -I"C:\Program Files\MATLAB\R2023a\extern\include\nav" CFLAGS="$CFLAGS " half_type.c
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
"C:\Program Files\MATLAB\R2023a\bin\win64\mex.exe" -R2018a -c -DMATLAB_MEX_FILE -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample\slprj\_sfprj\astarpathplanningandobstacleavoidanceinwarehouse\_self\sfun\src" -I"C:\warehose robotics management simulation\Examples\apathplanningandobstacleavoidanceinawarehouseexample" -I"C:\Program Files\MATLAB\R2023a\extern\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include" -I"C:\Program Files\MATLAB\R2023a\simulink\include\sf_runtime" -I"C:\Program Files\MATLAB\R2023a\stateflow\c\mex\include" -I"C:\Program Files\MATLAB\R2023a\rtw\c\src" -I"C:\Warehose Robotics Management Simulation\Examples\APathPlanningAndObstacleAvoidanceInAWarehouseExample\slprj\_sfprj\aStarPathPlanningAndObstacleAvoidanceInWarehouse\_self\sfun\src" -I"C:\Program Files\MATLAB\R2023a\extern\include\nav" CFLAGS="$CFLAGS " c:/PROGRA~1/matlab/r2023a/toolbox/nav/navalgs2/builtins/libsrc/PRIORI~1/priorityqueue_api.cpp
Building with 'MinGW64 Compiler (C++)'.
MEX completed successfully.
### Linking ...
"C:\Program Files\MATLAB\R2023a\bin\win64\mex.exe" -R2018a -silent LD="$MINGWROOT\bin\g++" LDFLAGS="$LDFLAGS " -output aStarPathPlanningAndObstacleAvoidanceInWarehouse_sfun.mexw64 @aStarPathPlanningAndObstacleAvoidanceInWarehouse_sfun.mol
Making simulation target for machine aStarPathPlanningAndObstacleAvoidanceInWarehouse succeeded.
The system cannot find the path specified.
0 file(s) copied.
Which was specified to be a make error.
And:
Error:moving aStarPathPlanningAndObstacleAvoidanceInWarehouse_sfun.mexw64 from C:\Warehose Robotics Management Simulation\Examples\APathPlanningAndObstacleAvoidanceInAWarehouseExample\slprj\_sfprj\aStarPathPlanningAndObstacleAvoidanceInWarehouse\_self\sfun\src to C:\Warehose Robotics Management Simulation\Examples\APathPlanningAndObstacleAvoidanceInAWarehouseExample failed.
Which was specified to be a model error.
This occurred during model compiling and while connected to the gazebo plugin in the virtual machine.
I attempted to compile using visual studio, but it stated that it was too large and gave error C2089. And the error also occurs when run in the standard MATLAB example folder.
Any help on identifying what is actually going wrong and how to rectify it would be much appreciated.
Kind Regards.

Accepted Answer

Mi
Mi on 9 Sep 2024
Solved: The filename and therefore path description was over the 206 character limit

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!