Expert System with PROLOG to Simulink

버전 1.1.0.0 (317 KB) 작성자: Marcelo Fernandes
PROLOG to Simulink with The SWI-Prolog and JPL (Java Interface to PROLOG)
다운로드 수: 720
업데이트 날짜: 2016/9/14

라이선스 보기

This model contains a SWI-Prolog (www.swi-prolog.org) interface block for Simulink environment. Communication between SWI-Prolog and Simulink uses JPL (Java Interface to Prolog). JPL is a library using JNI (Java Native Interface) providing a bidirectional interface between Java and SWI-Prolog.
The SWI-Prolog Interface block allows you to create simulation with expert systems using PROLOG code. With this block can be read PROLOG source file and loads the clauses in SWI-Prolog environment. The clauses are called through a PROLOG query that is an input parameter of the SWI-Prolog Interface block.
The PROLOG query uses ''u'' as the input variable name and ''y'' as the output variable name. In the case of queries with multiple solutions, this block will only return the first solution found.

The SWI-Prolog and JPL (Java Interface to Prolog) configurations are showed on the pdf file.

The attached file contains a simple on-off tank level control with prolog-based expert system example using The SWI-Prolog Interface block.

Marcelo Augusto Costa Fernandes
DCA - CT - UFRN
mfernandes@dca.ufrn.br

인용 양식

Marcelo Fernandes (2025). Expert System with PROLOG to Simulink (https://kr.mathworks.com/matlabcentral/fileexchange/36516-expert-system-with-prolog-to-simulink), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Verification, Validation, and Test에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

SWIPrologSimulinkV1.1/

버전 게시됨 릴리스 정보
1.1.0.0

Update for SWI Prolog version 7.2.3.

1.0.0.0