I'm modeling the control of ICE injection mass flow in the simulink and have a data set which is given in the Pict.1 and in text file. X1 represents u1 , X2 represents u2 and Y represents the output data (table data). I need to import/generate this data into my simulink model.
since there is no option for slicing in lookup table same as the given data set, I clone each X2 column slice value to its corresponding row in order to have same dimension. Then,I'm importing all datas to workspace and calling them into 2D-Lookup table as shown in the Pict.2
what I get is ; "Error occurred while retrieving data, check the selected block's parameter setting. The number of dimensions in the table data is 1 while the number of dimensions specified in the block is 2. They must match."
Can anybody help me to create such mapping in the simulink?
Best Answer