load variables in workspace except the ones with '.' in them
4 ビュー (過去 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!