engEvalString like function you can use from within a MatLab M file?
Show older comments
I was wondering if there was a wrapper or a function like engEvalString that I could call from inside an M file. Currently we are using engEvalString through JMatLink.dll and it’s doing what we want for the most part, but every time we run a test case it takes a long time to run. It opens and closes a new instance of MatLab every time it runs. Normally that wouldn’t be too bad but our copies are on a network so it takes awhile to rune everything.
I want to get away from the dll and do everything with one instance of MatLab open. engEvalString worked almost perfectly for us, but it sets the Inport blocks perfectly. So if there’s a function that does that same thing as engEvalString that I can use from an M file, please let me know. Thanks
P.S. I tried to use engEvalString in the M file but since it takes an Engine pointer it didn’t go over to well. Eval didn't do what I needed it to do either.
Accepted Answer
More Answers (0)
Categories
Find more on Call MATLAB from C 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!