How to wait for an available license for Polyspace Bug Finder/Code Prover Server

31 ビュー (過去 30 日間)
Peter Bauer
Peter Bauer 2025 年 11 月 27 日 14:49
回答済み: Peter Bauer 2025 年 12 月 12 日 15:11
There is a limited number of floating licenses available in our company and if none are left, Polyspace aborts with
22:02:18 Checking license ...
22:02:18 Error: License checkout failed.
22:02:18
22:02:18 | License Manager Error -4
22:02:18
22:02:18 | Maximum number of users for Polyspace_BF_Server reached.
22:02:18
22:02:18 | Try again later.
This is executed as part of the CI, so the whole build fails.
We will most probably increase the number of licenses, but it might still happen that all are in use. So the question is, how can it be implemented to wait for an available license instead of aborting with an error? Is it possible to configure a timeout or so?
  2 件のコメント
Anumeha
Anumeha 2025 年 12 月 8 日 5:44
Hi Peter,
You should contact the Installation & Licensing team at support@mathworks.com.
Peter Bauer
Peter Bauer 2025 年 12 月 9 日 9:33
thx, will do

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

採用された回答

Peter Bauer
Peter Bauer 約2時間 前
According to the support, there is currently no way this can be done.

その他の回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2025 年 12 月 9 日 12:39
I think you can use license().
status = license('test',feature)
[status,errmsg] = license('checkout',feature)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by