Zohair08
Newbie level 4
Hello everyone!
I have done this example about converting matlab to c++ and creating a shared libraby (http://www.kxcad.net/cae_MATLAB/toolbox/compiler/f2-995712.html).
The programme adds and multiplies two matrices. The issue is that in this example the input matrices themselves are defined in the driver code itself.
Do you know how to make this more general by receiving the matrices as inputs or parameters? In other words, I want this to receive inputs and do calculation.
cheers
zoh
I have done this example about converting matlab to c++ and creating a shared libraby (http://www.kxcad.net/cae_MATLAB/toolbox/compiler/f2-995712.html).
The programme adds and multiplies two matrices. The issue is that in this example the input matrices themselves are defined in the driver code itself.
Code:
double data[] = {1,2,3,4,5,6,7,8,9};
Do you know how to make this more general by receiving the matrices as inputs or parameters? In other words, I want this to receive inputs and do calculation.
cheers
zoh