First time call a mex function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

First time call a mex function

1,668件の閲覧回数
mihailcatalinmi
NXP Employee
NXP Employee

I have a strange issue with SPT Toolbox:

When I call for the first time a mex function, from SPT Toolbox, a command prompt popsup and stays like this for several secconds. This is happening for all mex functions from SPT Toolbox.

After first execution, everithing runs fine.

Does anybody have the same problem? Do you know a fix for that or what is causing this?
I presume that is searching for something on network and the answer is comming late, like searching for license(by the way, why licensing a free stuff?). 

Thank you!

Have a great day,

Mihai.

1 返信

1,480件の閲覧回数
dumitru-daniel_
NXP Employee
NXP Employee

Hi Mihai, 

For each SPT function there is a routine that checks if the user has a valid License. This routine is executed only once per MATLAB session. 

The license can be generated free-of-charge from NXP website (a step-by-step guide is here).

Depending on your computer setup, that process by take more or less. For example on our Win 7 OSes running on Intel core i7 2.7GHz and 16GB RAM it runs instantly without any lag.

Anyhow, thank you for making us aware of this. For the next release we will try to optimize the this be a single check per MATLAB session.

Regarding your question:

why licensing a free stuff?

It's a company standard procedure that's require such tools to be licenses.

Hope this helps!

Daniel