Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dinamically-sized output variables #4

Open
2 tasks
gian-didom opened this issue Dec 10, 2023 · 0 comments
Open
2 tasks

Support dinamically-sized output variables #4

gian-didom opened this issue Dec 10, 2023 · 0 comments
Labels
enhancement New feature or request MATLAB Coder

Comments

@gian-didom
Copy link
Owner

gian-didom commented Dec 10, 2023

The deployment of a code which involved variable-size outputs did not work because the pointer type appeared among the outputs and no handling was foreseen.

The timeline for the implementation of this feature is the following:

  • Enable execution of the code using pointers as outputs; the variable-sized variables are not accessible but the fixed-sizes are and the timing works.
  • Implement handling of mxArrays. This involves modification of the callFunction function with an extension that reads the data and size of the variable-sized inputs. These values are returned in the outputs. The deserializer should be able to handle this in the form of a FixedMatrix with a pre-determined maximum size. Check if the pre-determined maximum size can be inferred from the MATLAB Coder .mat artefacts.
@gian-didom gian-didom added enhancement New feature or request MATLAB Coder labels Dec 10, 2023
@gian-didom gian-didom changed the title Support variable-size output variables Support dinamically-sized output variables Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MATLAB Coder
Projects
None yet
Development

No branches or pull requests

1 participant