ERROR: Create a Python Application with MATLAB Code
显示 更早的评论
I need help in this tutorial, when I run my python code, this error shows and not compile:
Traceback (most recent call last):
File "getmagic.py", line 2, in <module>
myMagic = makesqr.initialize()
NameError: name 'makesqr' is not defined
4 个评论
Flavio Antonio Rodrigues Junior
2017-4-27
Flavio Antonio Rodrigues Junior
2017-4-28
编辑:Flavio Antonio Rodrigues Junior
2017-4-28
robert haase
2017-7-13
编辑:robert haase
2017-7-13
I have had the same issue but I still get it after following you hint, however. I will keep trying.
robert haase
2017-7-14
I instead focused on getting my actual code to run and it worked fine. I had to used Python 2 instead of 3, however.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Python Package Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!