Why are Name‑Value arguments not visible at function entry breakpoints in MATLAB R2025a?

I am using argument validation in a function that has multiple inputs including Name-Value pair arguments. When I set a breakpoint at the beginning of this function, only the first argument appears in the MATLAB R2025a Workspace immediately. The rest do not appear until after the arguments block finishes running. However, if I remove the Name-Value arguments, all of the values appear immediately.
Why does this occur? Is there a workaround?I am using argument validation in a function that has multiple inputs including Name-Value pair arguments. When I set a breakpoint at the beginning of this function, only the first argument appears in the MATLAB R2025a Workspace immediately. The rest do not appear until after the arguments block finishes running. However, if I remove the Name-Value arguments, all of the values appear immediately.
Why does this occur? Is there a workaround? I am using argument validation in a function that has multiple inputs including Name-Value pair arguments. When I set a breakpoint at the beginning of this function, only the first argument appears in the MATLAB R2025a Workspace immediately. The rest do not appear until after the arguments block finishes running. However, if I remove the Name-Value arguments, all of the values appear immediately.
Why does this occur? Is there a workaround? namevalue, arguments, validation, breakpoint, workspace MATLAB Answers — New Questions

​

Leave a Reply

Your email address will not be published. Required fields are marked *