Error Using MATLAB Data API with C Matrix API is not supported (UE4 visualization)

5 views (last 30 days)
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)

Accepted Answer

Nishan Nekoo
Nishan Nekoo on 25 Jun 2024
Hi Artem,
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
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
Artem
Artem on 3 Jul 2024
Hi Nishan! I tried to complete this tutorial using Matlab 2023a, and now it worked! Thank you for your reply, you helped me a lot!

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with Aerospace Blockset in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!