Can Argument Block be used to Auto Suggest / Complete ?

5 views (last 30 days)
From the article in the link below the first paragraph hints that argument blocks inside of functions can be used to help with argument auto suggest / complete but seems to only explain how to do this task using a JSON functionsignature route.
Has anyone been able to use Argument Blocks such that inputs to a function will auto suggest? I would prefer not to go through the cumbersome JSON route if there is an eaiser way.
To help illustrate, I use classes for a lot of my devices which have a lot of properties and functions / methods.
So for a classdef assigned to 'device' and a function named 'telemetry' it would be awesome if it would list only
device.telemetry('*')
where * would be a list that would suggest 'Xposition','Yposition',....
Thanks for any advice
  1 Comment
Walter Roberson
Walter Roberson on 3 Mar 2025
If I recall correctly, arguement blocks cannot currently be used to automatically fill auto complete.

Sign in to comment.

Answers (0)

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!