diff --git a/docs/reference/changelog-r2025.md b/docs/reference/changelog-r2025.md index 8dcb0004235..558ffd532e9 100644 --- a/docs/reference/changelog-r2025.md +++ b/docs/reference/changelog-r2025.md @@ -1,6 +1,8 @@ # Webots R2025 Change Log ## Webots R2025b + - Enhancements + - Added implementations of `wbu_system_tmpdir` and `wbu_system_webots_instance_path` to the MATLAB API ([#6756](https://github.com/cyberbotics/webots/pull/6756)). - Bug Fixes - Fixed a bug preventing the `webots-controller` executable from running on arm-based mac devices ([#6806](https://github.com/cyberbotics/webots/pull/6806)). diff --git a/lib/controller/matlab/.gitignore b/lib/controller/matlab/.gitignore index 36b5024c07a..a6dfc4109cd 100644 --- a/lib/controller/matlab/.gitignore +++ b/lib/controller/matlab/.gitignore @@ -371,6 +371,8 @@ wbu_motion_set_time.m wbu_motion_stop.m wbu_system_getenv.m wbu_system_short_path.m +wbu_system_tmpdir.m +wbu_system_webots_instance_path.m WB_STDOUT.m WB_STDERR.m WB_CHANNEL_BROADCAST.m diff --git a/src/controller/matlab/mgenerate.py b/src/controller/matlab/mgenerate.py index ffa3a213e6c..3a6e552a277 100755 --- a/src/controller/matlab/mgenerate.py +++ b/src/controller/matlab/mgenerate.py @@ -618,6 +618,8 @@ def main(args=None): # utils/system.h generator.gen(FUNC, "wbu_system_getenv(variable)") generator.gen(FUNC, "wbu_system_short_path(path)") + generator.gen(FUNC, "wbu_system_tmpdir()") + generator.gen(FUNC, "wbu_system_webots_instance_path(refresh)") # constants generator.gen_const("WB_STDOUT", "1")