by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Artificial Intelligence
Introduced first in SolidGeometry 5.4, Creation date: 2023-12-14, Last change: 2025-09-15
T=XPSrulesread([fname])
fname: | filename to read from |
T: | rules list |
[ops,start, goal]=XPSblocksworld; XPSruleswrite(ops,'TEST.XLS')
XPSrulesread(rname); ops=ans
This function, XPSrulesread, is designed to read rules from an Excel sheet and return them as a list. It is part of the SolidGeometry library and was introduced in version 5.4. The function is authored by Tim Lueth and is part of the VLFL-Lib, specifically under the class of Artificial Intelligence.
getfuncparams function. If no filename is provided, it defaults to 'XPSRULE.xls'.SGreadtable function. This table is converted from a character cell to a string cell array using the charcell2stringcellarray function.openbydoubleclick function.T using the cellsize function. It uses logical indexing to filter out any empty rows, ensuring that only rows with data are retained.T.This function is useful for reading and processing rules from an Excel file, which can then be used in various applications within the SolidGeometry library.
Algorithm explaination created using ChatGPT on 2025-08-18 22:52. (Please note: No guarantee for the correctness of this explanation)