Undefined function "" for variables of type 'char'

12 ビュー (過去 30 日間)
Eduardo Villalobos
Eduardo Villalobos 2019 年 6 月 12 日
コメント済み: Guillaume 2019 年 6 月 12 日
Hello,
i'm trying to pass a python string to a matlab function this way:
AutonomesAuto = eng.Input_Fahrzeug('AutonomesAuto',4.9,2.0,30.0,5.0,9.00,0.0)
The AutonomesAuto is an object. When running this, I get the follwoing error:
'Undefined function 'Input_Fahrzeug' for input arguments of type 'char'.'
Does anyone know how to solve this problem? Thanks!
  3 件のコメント
Eduardo Villalobos
Eduardo Villalobos 2019 年 6 月 12 日
I meant that the return should be an object, but I do not know if that is possible.
Input_Fahrzeug -all
returns 'name Input_Fahrzeug is not defined'. Does this mean it is not on matlab path?
Thank you!
Guillaume
Guillaume 2019 年 6 月 12 日
Yes, matlab cannot find the function.

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

回答 (0 件)

カテゴリ

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