Problems about building the interface between coda and MATLAB

5 ビュー (過去 30 日間)
悦 刘
悦 刘 2023 年 3 月 5 日
回答済み: Sivapriya Srinivasan 2023 年 3 月 29 日
I'm in the process of building the CODA library and executable files on my mac mini according to the instructions(https://raw.githubusercontent.com/stcorp/coda/master/INSTALL). When I try to set up the interface between coda and MATLAB, the following information is returned:
./configure --enable-matlab MATLAB=/Applications/MATLAB_R2022a.app
********************************************************************************
ERROR: MATLAB is required to build the MATLAB interface.
Try setting the MATLAB environment variable to the root of your MATLAB
installation if you have MATLAB installed.
********************************************************************************
The MATLAB root directory is' / Applications / MATLAB _ R2022a.app 'on my mac mini, so what should I do next to finish building the coda and MATLAB interface?
I would appreciate it if you could help me!
  2 件のコメント
Walter Roberson
Walter Roberson 2023 年 3 月 5 日
As an experiment try
MATLAB=/Applications/MATLAB_R2022a.app ./configure --enable-matlab
悦 刘
悦 刘 2023 年 3 月 7 日
Thank you for your answer. I did as you say, but still have the same error prompt. This problem is still unsolved.

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

回答 (1 件)

Sivapriya Srinivasan
Sivapriya Srinivasan 2023 年 3 月 29 日
Hello,
It looks like the CODA library and executable files require MATLAB to be installed in order to build the MATLAB interface. Based on the error message, it seems like the MATLAB environment variable is not set correctly.
To fix this issue, you can try setting the MATLAB environment variable to the root of your MATLAB installation using export option and then after setting up the MATLAB environment variable try building the MATLAB interface for CODA
Hope this helps!

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by