Importing excel data containing previously defined variables
이전 댓글 표시
I have a sheet of excel data which contains variables such as x and y. Is there a way to, given the data is defined in the MATLAB workspace, print an array of values based on what x and y are?
x=5;
y=6;
A=[1 2 4 x 8 y 10]; % input
%%PROCESS
B=[1 2 4 5 8 6 10]; % output
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
