Programming in Qt with Matlab function involve sparams
9 views (last 30 days)
I understand the process of compiling MATLAB function and call it in Qt application, but I have question about variables input to and output from such MATLAB function which involve RF object...
Let's say my Matlab function is "Function s_paramsA=mySFunction(s_paramsB,otherParameter)", where s_paramsA and s_paramsB are S-parameter object (like we get from "S = sparameters('default.s2p');"), what should I do when I call the MATLAB function in Qt? How can I construct the variables in Qt for input/output of MATLAB function? Thanks.