フィルターのクリア

how can i convert mxArray to double in simulink?

31 ビュー (過去 30 日間)
Anu  Sri
Anu Sri 2019 年 3 月 11 日
回答済み: Martin Oehler 2019 年 3 月 19 日
i am gettting following error.
Expected either a logical, char, int, fi, single, or double. Found an mxArray. MxArrays are returned from calls to the MATLAB interpreter and are not supported inside expressions. They may only be used on the right-hand side of assignments and as arguments to extrinsic functions.
can anyone help me to fix it?

回答 (1 件)

Martin Oehler
Martin Oehler 2019 年 3 月 19 日
Try to define the value first. Then, make the call which returns the MxArray.
See https://de.mathworks.com/matlabcentral/answers/354444-is-there-anybody-to-help-me-fix-the-error-and-convert-mxarray-to-double

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by