How to call cpp function in coder ceval function?
Show older comments
Hi, I am trying to call a cpp function in matlab using coder.ceval method. I am getting errors like the function is not defined, but the same code works for a c function. Please help me.
2 Comments
Rik
on 20 Jan 2022
Wouldn't it be easier to compile it with mex and call it that way?
Arhan Kundu
on 20 Jan 2022
Answers (1)
Rishabh Singh
on 7 Feb 2022
Edited: Rishabh Singh
on 7 Feb 2022
0 votes
Hi,
If you could provide the cpp function then I can better answer your question. But in meanwhile a similar question has been answered on the following link.
Hope this helps.
Categories
Find more on MATLAB Coder 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!