PLECS doesn’t support complex numbers. What you can do is convert all complex values to their desired scalar representation (i.e. convert to real, imaginary, magnitude or angle). Then you can remove the complex number from the workspace by using the clear() function.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to link Octave script with Plecs? | 3 | 1411 | October 1, 2020 | |
How to run script file in PLECS without using MATLAB? | 1 | 1482 | August 14, 2019 | |
Using initialization value in C-script | 1 | 635 | October 23, 2023 | |
Passing value from script to system parameters | 1 | 63 | February 3, 2025 | |
Read from Excel file | 1 | 973 | September 28, 2020 |