Why can Answers only accept zipped .mat attachments?

1 回表示 (過去 30 日間)
Matt J
Matt J 2013 年 9 月 26 日
コメント済み: Matt J 2013 年 11 月 14 日
I notice that I cannot attach .mat files to my Questions, unless zipped. I was just curious why we are forced to .zip them. Is it to help minimize disk consumption? Then why not request everything be zipped?
  2 件のコメント
Randy Souza
Randy Souza 2013 年 10 月 1 日
We wanted to start with a minimal list of allowed file types, and expand the list as needed. I'll look into getting .mat added as an attachable format.
Walter Roberson
Walter Roberson 2013 年 10 月 1 日
People will probably also be wanting to attach .fig



Matt J
Matt J 2013 年 10 月 6 日
I'm closing this in light of Randy's response.

その他の回答 (2 件)

Jan 2013 年 9 月 28 日
編集済み: Jan 2013 年 9 月 28 日
Of course I cannot answer this question. I would not prefer zipped files due to security problems. Beside the zip bomb vulnerabilities, you can hide malware more easily in zip files also.
I've created a pseudo-zip file and attached it:
s = 'hello!';
save('Hello.zip', 's');
Reading it works by:
load('Hello.zip', '-mat')
Therefore I do not see a real benefit of rejecting '.mat' files.
By the way, with posting this file I agreed with the "Guidelines for Submitting Content". But this text is very hard to read. Such juristic texts are hard to follow in the mother-language already, but this forum is thought for international access. So I agreed with these guidelines, but I frankly admit, that it would take me more than an hour to understand them in detail.
Wouldn't it be necessary to post a definition or at least a link to "Creative Commons Attribution Share Alike 3.0 license"? Because I find the name of the license only, I have to trust the results of my favorite internet search engine, that exactly this version of the text is shown on top, which is meant by MathWorks. Of course this is likely, but for a legal text, which tries to be bullet-proof, more clarity would be more useful.

Randy Souza
Randy Souza 2013 年 11 月 14 日
As of today (Nov 13, 2013) you can attach .fig, .mat, and .mdl files.
  1 件のコメント
Matt J
Matt J 2013 年 11 月 14 日
That's great!



Help Center および File ExchangeHistorical Contests についてさらに検索


Community Treasure Hunt

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

Start Hunting!

Translated by