Passing Arrays to Matlab

Moderator: Moderators

Passing Arrays to Matlab

Postby » Thu Jan 24, 2019 11:16 am


I would like to use the interpolation functions of MATLAB with CST. I am able to pass real number value properties to MATLAB and retrieve the results. I now want to pass a value property containing a real number array to MATLAB. How do I do this. I have tried using multiplicity, but CST only passes the first item in the "array" to MATLAB.

From CST I want to store a real number array [2, 5, 7, 3, 5, etc.] and then pass that array to MATLAB for interpolation. Right now I can brute force it by treating it as a string and then converting it in MATLAB to a real number array, but there has to be a more elegant way.


Forum Newbie
Forum Newbie
Posts: 4
Posts Rating:0
Joined: Mon Jun 25, 2018 1:32 pm

Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 0 guests