load variables in workspace except the ones with '.' in them
조회 수: 3 (최근 30일)
이전 댓글 표시
I am running into an issue with my .mat file where one of the variable names has a . in it. How do I ignore the variable from my load command? the name of the varibale is sample.proportion. The load command that works is:
A=load('sample.mat', '-regexp','^(?!sample.proportion)...')
Now how do I edit this load command to allow it to ignore any variable with a . in it?eg test.proprotion, data.test, test,example etc
댓글 수: 7
Image Analyst
2022년 3월 16일
How about we just quit guessing and you attach the actual MAT file so people can try things?
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!