ERROR 'unable to resolve name'

80 次查看(过去 30 天)
Last week I used Matlab during one of my fluid mechanics labs in college. We used a FM51 series and parallel pumps demonstration unit equipped with its own software loaded up on PC beside it so we could record the results. This PC was linked to the colleges network so when we sat down to our own PC's we could open the excel sheet with the results from the colleges online network. We imported the excel table into matlab and from there chose our required data and imported our selection into a live script. We then wrote the code to graph a couple variables from the data. All was well at the end of the lab. I am now writing the report for this and I need the graphs from my matlab code. I havent touched the code since the lab so I know it is still right. However, I am now on my home laptop and Im getting the error 'unable to resolve the name Results.InletPressureP0_kPa__'. No idea why this is happening. I do have the results table import saved in my matlab files so I should be able to call info from that table. Is it just because I am on a different device? Anyone know why this is happening or have a fix for it?

采纳的回答

Cris LaPierre
Cris LaPierre 2023-12-17
Look in your Workspace (lower left). The table Results does not yet exist. You need to run the first section of code first in order to load your data and create the table you use in the 2nd section.
  1 个评论
Oscar Kinsella
Oscar Kinsella 2023-12-17
That worked!!! Thanks I never realised that had the workspace minimized so I could see the code better. Thank you

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by