Top 10% contributor
Hi Etienne, I did something like this. I use the MODULE like posted above. SUBROUTINE MEXFUNCTION(NLHS, PLHS, NRHS, PRHS) ...
1 year ago
Quite a long time I was looking for a solution to interrupt a mexFunction while execution by pressing CTRL+C. This is while I wr...
2 years ago
Did you check the dimensions of sg0?
Answered 2 years ago
Is it possible to display the arguments of a mexfunction while coding, like it displays the arguments after coding a '('...
Asked 2 years ago
As I wrote in the comment, I got the same error. After a step by step commenting out of code I found the error.
I called the...
If I understand this correct, you want to solve an implicit system of differential equations, as for example de/dt is part of yo...
This is, what you coded:
y = zeros(5,1);
you should also initiate
dy = zeros(5,1);
otherwise Matlab does not know of wich size dy is
a(1,[1 2],:) = a(1,[2 1],:);
Join the conversation