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
More
05 Apr 2017 08:21 #5304 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.

  • Paul Gilman
More
05 Apr 2017 16:12 #5305 by Paul Gilman
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.

Please Log in or Create an account to join the conversation.

  • robschneider
More
13 Mar 2018 08:22 #5306 by robschneider
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: Paul Gilman
Powered by Kunena Forum