How to use matlab function in C++ program .
5 views (last 30 days)
Show older comments
I want to use fuction [x,b]=eig(A)to calculate the eigenvectors and eigenvalues of matrix A in my C++ program.I try to definite a new function to change the interface of the function,such as: function [X]=eigen(A) %#External [X,b]=eig(A) end
then ,I want to mcc .m file to .cpp.I input mcc -m eigen.m eigen.cpp in matlab cmd.It works out the first time,but after I did some change in eigen.m and mcc again ,it comes out the error: D:\PROGRA~1\MATLAB\R2010B\BIN\MEX.PL: Error: eigen.cpp not found.How to solve it.*bold*
Answers (0)
See Also
Categories
Find more on Standalone Applications 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!