"arguments ... end" syntax input argument validation module group supports C code generation?

7 views (last 30 days)
The latest version of Matlab Coder does not seem to support the use of "arguments...end" module in functions. If so, I don't have to specify the type and size of each input argument before calling the "codegen" function?
I hope this will be enhanced in future versions!
-------2022.3.24 update--------
try/catch shoud also support C code generation.
  6 Comments
Richard McCormack
Richard McCormack on 10 May 2022
Thank you for the example, Gregory! Please keep an eye out for future releases of MATLAB Coder, we hope to get this feature to you soon.

Sign in to comment.

Accepted Answer

cui
cui on 10 Oct 2022
It is good to hear that this syntax supports C/C++ code generation since R2022b .

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!