How to run Main.mexa64

10 views (last 30 days)
saifur rahman
saifur rahman on 13 Dec 2018
Answered: James Tursa on 13 Dec 2018
How to run c++ code to Main.mexa64 in Matlab.
Like i want to give input to c++ function and return value from c++ function.
Example:
in console
a=3
t=input a to Main.mexa64
t=somevalue return.

Answers (1)

James Tursa
James Tursa on 13 Dec 2018
As long as Main.mexa64 is on your path so MATLAB can see it:
t = Main(a);

Categories

Find more on Operators and Elementary Operations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!