Prev: Results not repeatable for sum() function on fixed / deterministic vector
Next: Appending to an array function
From: Bruno on 5 Apr 2010 13:54 Hello, suppose you have a C function like this: cFunction ( ) { .... system('MatlabCode'); .... } MatlabCode is a deployment executable, built with Matlab's mcc. How could one return values from MatlabCode( ) to the calling cFunction? This in Matlab: function x = MatlabCode( ) .... x=2 end should work? Because it appears it's not. Thanks, Xezi |