示例:我想将“ C:\ Users \ Lenovo \ Desktop \ lingodata.xlsx”中的数据导入到lingo中
1.左拖动并在"C:\ Users \ Lenovo \ Desktop \ lingodata.xlsx"中选择数据,快捷键控件+ F3插入-将名称定义为dist,然后将其保存
2.dist = @OLE("C:\ Users \ Lenovo \ Desktop \ lingodata.xlsx","dist");
将EXCEL中的文件读入LINGO;