-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Matlab/Simulink nim-mex #8331
Comments
What is exactly the issue? I honestly do not understand what you are asking for |
Have you ever used matlab c shared libray and mex functions? |
No, I have not, but I still do not understand what feature you are asking for. Something that will autogenerate bindings to use nim libraries from matlab - like nimpy does for Python? If so, this would be better suited to a nimble package. |
Yes. Binding generation for matlab or other scientific tools. I am using matlab/simulink for a long time. |
This should be done as a library just like Nimpy by an interested party. It does not belong in core Nim or Nim standard library. I vote for closing this. It could be added to the meta Are we scientist yet but if it does not exist in Python or Julia (which can wrap C/C++ easily) I think it's even less likely to find someone to maintain a Nim <-> Matlab bridge. |
There is one think about core library. Instead of writing all of mathmetical operations with famous libraries, make Nim code replacement for blas and lapacak like matlab. |
@develooper1994 My guess is that you are not a native english speaker, so I am not sure I interpret your last remark correctly, but for sure a tool that generates Matlab bindings for Nim can be developed purely as a library. This is the approach followed by Nimpy, that I mention above, and can be used for Matlab as well. If you want to argue for this bridge, the best place to post is the thread Are we scientist yet linked by @mratsim |
I am not native english speaker. My keyboard makes some bir silly corrections. I am struggling with it. 😁 |
@develooper1994 As you mentioned the biggest hole in the Matlab mex toolset, it doesn't support exporting simple file open/close operations, which is crazy. It would though be nice to have Nim and Matlab talk to each other for other calculation stuff. I was instead thinking of accessing Matlab libraries exported to C from Nim. Though, looks like this discussion doesn't need to be an Issue here, as this is probably not something that Nim core needs to support. I'd believe, the Nim Forum is a better place for this. |
Closing as requested by @develooper1994 - feel free to post on http://forum.nim-lang.org/ or on the thread linked by @mratsim |
Matlab/Simulink can generate code like nim. Matlab generates two type 1) Standalone C,C++/Cuda(not support lots of thinks) 2) Matlab Runtime C,C++/Cuda code generation
I am imagining code generation will become easier than anything.
The text was updated successfully, but these errors were encountered: