MATLAB Answers

Can I create and modify variables in an Excel sheet?

조회 수: 5(최근 30일)
Missael Hernandez
Missael Hernandez 2021년 9월 16일
댓글: Missael Hernandez 2021년 9월 16일
Suppose that someone does not have access to MATLAB, but does to Excel. Could they edit a variable in an Excel sheet, send that sheet to me, and once I upload to it to the Current Folder in MATLAB, have those modifications show up in the workspace?
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2021년 9월 16일
Missael - if someone sends you an updated Excel spreadsheet then those modifications will show up in the MATLAB workspace only once you read (via whichever MATLAB code that you have written) that updated file.

댓글을 달려면 로그인하십시오.

답변(1개)

Image Analyst
Image Analyst 2021년 9월 16일
Yes, they can give you data in whatever form you like - text file, csv file, xlsx file, etc. Then you can read in the file and use that variable. When you read them in, they will show up in the workspace.
  댓글 수: 8
Missael Hernandez
Missael Hernandez 2021년 9월 16일
The highlighted portion is where the string goes. All you do is click the 3 vertical dots to make it a variable and it'll show up in the Workspace.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by