필터 지우기
필터 지우기

I ues mcc -W python:myAdd -T link:lib myAdd.m to create a python package.How do I call it in python?

조회 수: 1 (최근 30일)
matlab code : function [ x ] = myAdd(a,b) x=a+b; end
In matlab command window: mcc -W python:myAdd -T link:lib myAdd.m Then I got a setup.py and a package:__init__ , myAdd.ctf
I installed the package using setup.py in cmd. But I don't know how to call the function in python.
Additionally,is there any other method to call matlab Dll in python? Many thanks!

답변 (1개)

Wentao Du
Wentao Du 2018년 7월 2일

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by