Signal processing toolbox license error when accessing MATLAB from Python.

3 次查看(过去 30 天)
I'm using MATLAB 2019b, Python 3.7.9 on Windows 10. In my python code, I have the below lines
import matlab
import matlab.engine
mat_eng = matlab.engine.start_matlab()
print(mat_eng.license('test','Signal_Toolbox'))
This always prints 1. However, when I try to access a signal processing toolbox function like resample, I see a license checkout error as below:
License checkout failed.
License Manager Error 0
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2019b/0
Diagnostic Information:
Feature: Signal_Toolbox
...
I'm able to use the resampler from MATLB directly. How do I solve this error?

回答(1 个)

Udit06
Udit06 2024-2-19
Hi Upendra,
You can refer to the following MATLAB answer which handles a similar issue that you are facing.
I hope this helps.

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by