Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CoreML.Available

Whether CoreML is available.

Component Version macOS Windows Linux Server iOS SDK
CoreML 7.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "CoreML.Available" )

Parameters

none

Result

Returns 1, 0 or error.

Description

Whether CoreML is available.
Should return 1 on macOS 10.13 or newer or 0 on other versions.

Examples

Check availability:

If [ MBS("CoreML.Available") ≠ 1 ]
    Show Custom Dialog [ "Core ML not available" ; "Please run on macOS 10.13 High Sierra" ]
    Exit Script [ Text Result: "" ]
End If

Example Databases

Created 16th September 2017, last changed 16th September 2017


CoreML.AddUndefinedParameter - CoreML.Clear

Feedback: Report problem or ask question.