where 'workDir' is the literal string, and NameOfDirectoryToUseForTheExample should be replaced by the fully-qualified directory name to use . You should use a different directory name for each example.
Error using mkdir Sistem belirtilen dosyay? bulam?yor. Error in exampleUtils.setupWorkDir (line 4) mkdir(workDir) Error in setupExample (line 18) exampleUtils.setupWorkDir(workDir); Error in openExample (line 29) I've got this error when i tried to open live script examples. When i clicked "view MATLAB command" button and following the instructions, gave me the error. One of the example is "Plan and Execute Task- and Joint-space Trajectories using KINOVA Gen3 Manipulator". How can i open and run this example on matlab? Is the example folder missing? If it is, how can i get the folder? And how can i insert the kinova robotic arm to matlab like the example shows?
Neeta Dsouza answered .
2025-11-20
% Windows: user's "Documents" folder appended with "MATLAB" % Mac: user's "Documents" folder ($home/Documents) appended with "MATLAB" % Linux: user's $home folder appended by "Documents" and "MATLAB"
openExample('robotics/PlanAndExecuteTaskAndJointSpaceTrajectoriesExample', 'workDir', 'NameOfDirectoryToUseForTheExample')