Error Using MATLAB Data API with C Matrix API is not supported (UE4 visualization)
5 views (last 30 days)
Show older comments
I'm trying to use Matlab and UE4 together. I strictly follow this tutorial, however, in step 6 I get a compilation error
fatal error C1189: #error: Using MATLAB Data API with C Matrix API is not supported.
that points to the MDArray.hpp file. Please tell me how I can fix this.
(Matlab R2022b, UE4.26, Visual Studio 2019)
0 Comments
Accepted Answer
Nishan Nekoo
on 25 Jun 2024
Hi Artem,
Can you try following the tutorial on the following page instead: https://www.mathworks.com/help/releases/R2023a/vdynblks/ug/get-started-communicating-with-the-unreal-engine-visualization-environment.html
It should be the same process, but I believe some code snippets have been updated to avoid this fatal error. Let me know if that works or if you run into any issues.
Nishan
2 Comments
Nishan Nekoo
on 25 Jun 2024
Edited: Nishan Nekoo
on 25 Jun 2024
Hi Artem,
I have learnt that the issue you are facing may not be solved by following these updated instructions alone while remaining in R2022b, but necessitates using R2023a. The issue lies within the plugins that were available with R2022b, but have since been updated starting in R2023a to avoid this issue. Is upgrading to R2023a or later an option for you?
Nishan
More Answers (0)
See Also
Categories
Find more on Get Started with Aerospace Blockset 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!