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

Move MATLAB codegen to Jinja2 #14

Open
korken89 opened this issue May 16, 2019 · 4 comments
Open

Move MATLAB codegen to Jinja2 #14

korken89 opened this issue May 16, 2019 · 4 comments
Labels
enhancement New feature or request matlab issue related to MATLAB

Comments

@korken89
Copy link
Collaborator

korken89 commented May 16, 2019

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Lets move the matlab codegen to Jinja2 templates, the current template code is very hard to read and see how it comes together.
This will also help with the C/C++ lib generation and overview IMO.

Describe alternatives you've considered
Keep it as it is.

Additional context
Link: Jinja 2 documentation

@alphaville alphaville added enhancement New feature or request matlab issue related to MATLAB labels May 20, 2019
@alphaville
Copy link
Owner

Jinja is not supported in MATLAB, but there's Lobster (but it looks abandoned).

@korken89
Copy link
Collaborator Author

Matlab can call into python, that should be enough

@alphaville
Copy link
Owner

@korken89 that's certainly a legit solution. I'm just concerned that users will need to install the Python package - not too difficult, but the less one does during installation, the better it is.

@hampos
Copy link

hampos commented Oct 30, 2019

Hey guys, you could write your functionality in Java and invoke it from Matlab, since Matlab is natively Java I believe.
This would require your jar in Matlab's classpath though, not sure if you could do this through an add-on.
Cool project btw!

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 issue related to MATLAB
Projects
None yet
Development

No branches or pull requests

3 participants