Repository navigation
demonstration of matlabs inability to resolve multiple inheritance - #4
Merged
Merged
Conversation
- use -output for mex as opposed to -o as R2014a doesn't support -o anymore - for running, insert a semi-column after the "try" command to avoid a matlab warning
Fix to handing of 'ans' output
- find them also in the path - if mextext is not found, do not configure matlab support (in the previous version, we still tried to run it, resulting in a confusing error message)
the autodoc was emitted at the start of the .m file for the class, as opposed to at the function definition.
Owner
|
Great! I'll have a look later this week (I'm waiting for a MATLAB license at the moment). I'm going to work quite intensively with SWIG/MATLAB until the end of the year. By the way, remember to add @KrisThielemans' fork as a remote as well. I think he has some commits that I haven't pulled yet: https://github.com/KrisThielemans/swig. |
Author
|
That's awesome (as we say in the states, with exclamation!). I think this is a hugely useful project, and hope I can be of assistance. I wrote some stuff a few years ago to wrap arrays of c-structs into matlab, but this is 10x better (once it works). |
jaeandersson
added a commit
that referenced
this pull request
Nov 28, 2014
demonstration of matlabs inability to resolve multiple inheritance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this demonstrates that when CircleInscribedInSquare does not define perimeter(), matlab doesn't know which inherited perimeter to resolve, and just chokes. at least would be nice to print out a warning.
to test this case un/comment the line
//#define FIXME_SWIGMATLAB