Effacer les filtres
Effacer les filtres

ERROR 'unable to resolve name'

65 vues (au cours des 30 derniers jours)
Oscar Kinsella
Oscar Kinsella le 17 Déc 2023
Commenté : Oscar Kinsella le 17 Déc 2023
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?

Réponse acceptée

Cris LaPierre
Cris LaPierre le 17 Déc 2023
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 commentaire
Oscar Kinsella
Oscar Kinsella le 17 Déc 2023
That worked!!! Thanks I never realised that had the workspace minimized so I could see the code better. Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by