I don’t believe this is possible actually. The JSON-RPC connection between MATLAB and PLECS Standalone was a more recent feature we added compared to Simulation Scripts in Standalone, which effectively allow you to do similar things as you would with MATLAB scripts with Blockset. So the motivation was more to provide a similar capability between the two versions of PLECS, but we didn’t anticipate a user need for linking the two scripting capabilities. So in short, at the moment you would need to port your logic (with some adjustments for function handles and syntax) from the PLECS Simulation Script to a MATLAB script. We can update this information if this changes in the future.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Running two models simultaneously with jsonrpc
|
1 | 295 | April 9, 2024 | |
Plecs Blockset and matlab | 1 | 304 | April 17, 2023 | |
Plecs('simulate') command doesn't work in MATLAB | 3 | 1273 | October 5, 2020 | |
How to run script file in PLECS without using MATLAB? | 1 | 1455 | August 14, 2019 | |
How to link Octave script with Plecs? | 3 | 1377 | October 1, 2020 |