C1189 #error: Using MATLAB Data API with C Matrix API is not supported.

Hey,
I am trying to replicate this tutorial with Matlab R2025a, UE 5.32 and Visual Studio 2022. I am getting the following error in Visual Studio at step 6, when I click "build".
C1189 #error: Using MATLAB Data API with C Matrix API is not supported.
I saw some previous posts discussing the same issue and the solution was the update to a new release. However, I have the latest release.
Best,
Filippos

1 件のコメント

Kory
Kory 2026 年 3 月 3 日 8:00
The suggested fix worked for me too in a similar use case.

サインインしてコメントする。

 採用された回答

Nishan Nekoo
Nishan Nekoo 2025 年 8 月 21 日
Hi Filippos,
Thank you for reaching out about this error! It is unfortunate that this has been a recurring issue as we update the product from release to release, but the development team is trying to investigate the deeper underlying issue and hopefully implement a more lasting fix in a future release.
For now, in R2025a, the following workaround might help resolve this error:
In the following file that we install with our plugin: C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Marketplace\MathWorks\MathWorksSimulation\Source\MathWorksSimulation\Public\Sim3dInterface.h
Please replace line 7
#include "Engine.h"
with the following instead:
#include "Engine/Engine.h"
Please let me know if this resolves the error for you. If it doesn't, we'd be happy to investigate it more.
Thanks,
Nishan

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeBlock Libraries についてさらに検索

質問済み:

2025 年 8 月 19 日

コメント済み:

2026 年 3 月 3 日 8:00

Community Treasure Hunt

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

Start Hunting!

Translated by