- Posts: 2
How can I use the script ,and if I write a new script ,can I ues it with the project that the SAM provide ?
- ywj19940405
- Topic Author
Less
More
05 Apr 2017 02:21 #5304
by ywj19940405
How can I use the script ,and if I write a new script ,can I ues it with the project that the SAM provide ? was created by ywj19940405
How can I use the script ,and if i write anew script ,can i use it with the CSP projcet that i build in the SAM ? Can I use it with the MATLAB:?
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5447
05 Apr 2017 10:12 #5305
by pgilman
Replied by pgilman on topic How can I use the script ,and if I write a new script ,can I ues it with the project that the SAM provide ?
Hello,
In the latest version of SAM, you can use the code generator to create a MATLAB script that assigns values to input variables based on the data in your SAM project. For example, you would create your CSP system in SAM, and then on the Case menu, click Generate Code, and choose MATLAB. SAM will then create the files you need to access the SAM API from MATLAB.
Best regards,
Paul.
In the latest version of SAM, you can use the code generator to create a MATLAB script that assigns values to input variables based on the data in your SAM project. For example, you would create your CSP system in SAM, and then on the Case menu, click Generate Code, and choose MATLAB. SAM will then create the files you need to access the SAM API from MATLAB.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
- robschneider
Less
More
- Posts: 1
13 Mar 2018 02:22 #5306
by robschneider
Replied by robschneider on topic How can I use the script ,and if I write a new script ,can I ues it with the project that the SAM provide ?
you would create your CSP system in SAM, and then on the Case menu, click Generate Code, and choose MATLAB. SAM will then create the files you need to access the SAM API from MATLAB.
Please Log in or Create an account to join the conversation.
Moderators: pgilman