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
Need saveMtx function for Matlab #3
Comments
Sounds good. I think the approach should be to extend |
Actually, step 0 should be to add it to |
I think the approach should be to extend $br -convert to allow conversion to/from the other supported matrix formats (.mtx, .csv). Agreed. Sounds like Matlab also uses the .mtx extension for a binary matrix? Is there another extension we could use to distinguish between the current .mtx format and the matlab format? Like .mat? Matlab files to store binaries of objects (e.g., a matrix) have a default extension of .mat (so, good guess). The file structure is at the link below. I am not sure if there already exists a Qt-based implementation of this this format. If not, we should definitely code it into a -convert command. In the meantime we can use the matlab functions loadMat() and saveMat() for a weaker amount of matlab support. http://www.mathworks.com/help/pdf_doc/matlab/matfile_format.pdf |
Matlab matrices are now first class citizens in OpenBR. The newly added formats are You can use
This should obviate the need for loadMat() and saveMat(). Relevant code is in sdk/plugins/format.cpp |
Bravo sir! Looks very elegant too! |
An update on how to use this command: |
for example: |
Similar to the loadMtx file, a saveMtx file needs to be added to allow Matlab users to save similarity matrices for analysis in openbr.
The text was updated successfully, but these errors were encountered: