フィルターのクリア

MATPOWER AND COMPILER SDK

1 回表示 (過去 30 日間)
john sebastian guerrero pinto
john sebastian guerrero pinto 2021 年 6 月 30 日
回答済み: Pratyush 2024 年 5 月 23 日
I want to know if i can package my program wich uses MATPOWER (this is another package) to be use with Matlab Production Server and making HTTP request

回答 (1 件)

Pratyush
Pratyush 2024 年 5 月 23 日
Hi john,
To package and deploy a program using MATPOWER for use with MATLAB Production Server to handle HTTP requests, follow these summarized steps:
1. Ensure Compatibility: Verify that your program and MATPOWER work correctly in MATLAB, as this ensures compatibility with MATLAB Production Server.
2. Package Your Application:
- Create a main MATLAB function as an entry point.
- Use MATLAB Compiler SDK (`mcc` command) to compile your application along with MATPOWER into a deployable archive (.ctf file).
- Test the compiled application locally to ensure it behaves as expected.
3. Deploy to MATLAB Production Server:
- Set up your MATLAB Production Server if not already done.
- Deploy your compiled application (.ctf file) to the server.
4. Making HTTP Requests:
- Prepare and send HTTP POST requests to your MATLAB Production Server instance, pointing to your application, with inputs formatted as JSON.
- Process the response from the server, which contains the output of your MATLAB function.
Note - Check MATPOWER compatibility with MATLAB Compiler, ensuring there are no unsupported operations or functions.
This process allows you to access and run your MATPOWER-based MATLAB application via HTTP requests to the MATLAB Production Server.

カテゴリ

Help Center および File ExchangeEnterprise Deployment with MATLAB Production Server についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by