Custom GUI: Check for updates

3 ビュー (過去 30 日間)
William Thielicke
William Thielicke 2019 年 9 月 7 日
コメント済み: Rik 2019 年 9 月 11 日
Hi, I made a Toolbox that I am updating from time to time. Is there a way to notify users that an update of my Toolbox has been released? Can I make my Toolbox access a web page and check for a specific field or string (e.g. the Matlab file exchange website)? Or does someone have an idea how Update notifications are usually done? Thanks! William

採用された回答

Rik
Rik 2019 年 9 月 7 日
You could probably have a function check your website at most once a week by calling your update function when starting some specific GUI/GUIs and storing a timestamp with setpref.
I don't know about 'usually', but if you want to see a suggestion for an implementation, you can check how I did it for my PhotoAnnotation FEX submission. I suspect if would be much better to have a website under your own control, although that will break in the future when you discontinue your website. My method will break once Mathworks decides to change the URL structure. It is your call which of the two you expect to happen sooner.
  3 件のコメント
William Thielicke
William Thielicke 2019 年 9 月 11 日
Hi,
I had a look at your code, but I do not understand where you got your URL from (this one: ['http://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/64294/versions/' num2str(index) '/previews/PhotoAnnotation.m/index.html?access_key='] )
My normal submission URL is this one:
I don't know how to get a URL similar to yours...
Rik
Rik 2019 年 9 月 11 日
I got that URL when the interface was a bit different. You can replace the elements of my URL with yours. Just make sure to pick a small enough file, because this link
http://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/27659/versions/1/previews/PIVlab_GUI.m/index.html?access_key=
returns this message:
File too large for web preview. Please download submission to view.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by