ERROR: Create a Python Application with MATLAB Code
Show older comments
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 Comments
Flavio Antonio Rodrigues Junior
on 27 Apr 2017
Flavio Antonio Rodrigues Junior
on 28 Apr 2017
Edited: Flavio Antonio Rodrigues Junior
on 28 Apr 2017
robert haase
on 13 Jul 2017
Edited: robert haase
on 13 Jul 2017
I have had the same issue but I still get it after following you hint, however. I will keep trying.
robert haase
on 14 Jul 2017
I instead focused on getting my actual code to run and it worked fine. I had to used Python 2 instead of 3, however.
Answers (0)
Categories
Find more on Python Package Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!