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

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

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

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
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)

Products

Release

R2022b

Asked:

on 20 Jun 2024

Commented:

on 3 Jul 2024

Community Treasure Hunt

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

Start Hunting!