I am having trouble trying to take input to a user defined MATLAB function block from the output of three phase current measurement block in simulink.
Show older comments
I am using a User defined Matlab Function block and taking input from a Three phase current measurement block. I want the input data in an array form of three phase currents. How do I take such an input? Simply connecting the output from three phase current measurement block to the input of the function block is not working as the input only receives the first row of the total matrix of currents. Do I need to add some code to read the data differently? I can see the three phase currents in the scope and I can also import them into the workspace in any desired format but can't seem to figure out how to directly read them into my matlab function block.
2 Comments
TAB
on 4 Jun 2018
So as I understood, your current output is in matrix format (mxn) and you want to read first row in Matlab function block.
Is this correct ?
Nirmit Regmi
on 4 Jun 2018
Answers (1)
Bisrat Gezahegn
on 17 Sep 2021
0 votes
it is too long! i have idea on this issue if u need some information
Categories
Find more on Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!