Skip to content

demonstration of matlabs inability to resolve multiple inheritance - #4

Merged
jaeandersson merged 9 commits into
jaeandersson:matlabfrom
tesch1:matlab
Nov 28, 2014
Merged

jaeandersson merged 9 commits into
jaeandersson:matlabfrom
tesch1:matlab

Conversation

@tesch1

@tesch1 tesch1 commented Nov 26, 2014

Copy link
Copy Markdown

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

KrisThielemans and others added 5 commits August 20, 2014 21:53
- 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
- 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.
@jaeandersson

Copy link
Copy Markdown
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.

@tesch1

tesch1 commented Nov 26, 2014

Copy link
Copy Markdown
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
@jaeandersson
jaeandersson merged commit c5777b5 into jaeandersson:matlab Nov 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants