How to use a from workspace function for a 1D lookup table
Show older comments
Hello everyone,
I want to have 2 inputs and 2 ouputs for a 1D lookup table so that afterward I can subtract the two outputs from each other. I found online that you can do this by using a vector. When I do it with a vector, it works (figure 1) but when I want to use a vector that I made in the matlab workspace from 2 variables, it gives an error (figure 2). I really need to use the from workspace fuction because in a further proces, the variables from the input wil come from previous calculations and can't be inserted manually each time. Does anyone of you know how to fix this problem and properly use the from workspace function?
Thanks in advance!!

Figure 1

Figure 2
Accepted Answer
More Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!