- Posts: 5
matlab ssccall fail and python 3 example
- xpeng37@wisc.edu
- Topic Author
Less
More
05 Jul 2018 09:51 #6324
by xpeng37@wisc.edu
matlab ssccall fail and python 3 example was created by xpeng37@wisc.edu
Hi Paul,
I am a new user of SAM SDK.
I first try to run the matlab example, but it fails to call the ssccall.m with an error "error: 'ssclib' undefined near line 23 column 21". Do you know how to solve the issue? Is this related to the C complier?
I also try to run the python example, but since I am using python 3, the syntax of the example doesn't match. Could I find an example written in python 3?
Thanks,
Xinyue
I am a new user of SAM SDK.
I first try to run the matlab example, but it fails to call the ssccall.m with an error "error: 'ssclib' undefined near line 23 column 21". Do you know how to solve the issue? Is this related to the C complier?
I also try to run the python example, but since I am using python 3, the syntax of the example doesn't match. Could I find an example written in python 3?
Thanks,
Xinyue
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
05 Jul 2018 10:48 #6325
by pgilman
Replied by pgilman on topic matlab ssccall fail and python 3 example
Dear Xinyue,
Please use SAM's code generator to create the MATLAB and Python code files instead of using the examples that come with the SDK. The code generator is up to date, and will generate code and supporting files for Python 2 and 3. It also ensures that you assign values to all of the required inputs.
You can find a quick video showing how to use the code generator under "How-to Videos" here:
sam.nrel.gov/webinars
There are also numerous discussions about Python, which you can find by searching the website for "Python":
sam.nrel.gov/search/site/python
Best regards,
Paul.
Please use SAM's code generator to create the MATLAB and Python code files instead of using the examples that come with the SDK. The code generator is up to date, and will generate code and supporting files for Python 2 and 3. It also ensures that you assign values to all of the required inputs.
You can find a quick video showing how to use the code generator under "How-to Videos" here:
sam.nrel.gov/webinars
There are also numerous discussions about Python, which you can find by searching the website for "Python":
sam.nrel.gov/search/site/python
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman