Passing 2D Numpy Array into MATLAB Engine

21 ビュー (過去 30 日間)
JOHN RAGLAND
JOHN RAGLAND 2021 年 1 月 17 日
回答済み: Nagasai Bharat 2021 年 1 月 20 日
I'm trying to call matlab's imagesc() within python. I have 2 1D np.arrays (X and Y) and a 2D np.array (Z) that I would like to pass to imagesc(). I have attempted to convert each of these numpy array to lists without luck.
How can I pass multidimensional numpy array to the MATLAB engine?
-Thanks

回答 (1 件)

Nagasai Bharat
Nagasai Bharat 2021 年 1 月 20 日
Hi,
From my understanding the following Community would be helping you to solve the problem.
Alternatively the following documentation might help you to understand better about the mapping.

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by