ERROR 'unable to resolve name'

80 ビュー (過去 30 日間)
Oscar Kinsella
Oscar Kinsella 2023 年 12 月 17 日
コメント済み: Oscar Kinsella 2023 年 12 月 17 日
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 Center および File ExchangeProgramming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by