- #1
CGandC
- 326
- 34
Let's say I have an algorithm ## ALG_A ## written in language ##A##, and I wish to call algorithm ## ALG_B ## written in language ##B## through ## ALG_A ##. What are some ways of achieving this in implementation?
For example, say I want to calculate stuff in C language and provide this calculated data as an input to an algorithm written in Matlab or Python, which then receive the data and plot it - how is this invocation from one language to another is achievable? perhaps some script needs to be written that is called from C? ( which receives that data, and invokes the algorithm in Matlab/Python ).
For example, say I want to calculate stuff in C language and provide this calculated data as an input to an algorithm written in Matlab or Python, which then receive the data and plot it - how is this invocation from one language to another is achievable? perhaps some script needs to be written that is called from C? ( which receives that data, and invokes the algorithm in Matlab/Python ).