halcon remove_dir_recursively
时间: 2023-08-03 07:05:09 浏览: 124
Halcon disp_message报错.rar
To remove a directory and its contents recursively in Halcon, you can use the `remove_dir_recursively` procedure. Here's an example of how to use it:
```halcon
directory := 'path/to/directory'
remove_dir_recursively(directory)
```
Replace `'path/to/directory'` with the actual path of the directory you want to remove. This procedure will delete all files and subdirectories within the specified directory.
Please note that this is a destructive operation, so use it with caution. Make sure you have a backup of any important files before executing this code.
阅读全文