From: Jace on
I'm interested in any m-script examples related to the following:

I have a task to take a XLS/CSV table and create a Simulink truth table. The intent is to
1) maintain the XLS as the definition of our truth table
2) use an m-script to parse the XLS (using xlsread) and create and mdl file that contains a truth table
3) use existing analysis tools on the truth table
4) generate c-code from the mdl file

If anyone has an example m-script snippet to create an mdl file (containing a single truth table) from an XLS/CSV file ... I would appreciate if you shared it.

Thanks.
Jace