Fork me on GitHub

在Lingo中输入矩阵(通过Excel)

  举例说明:我要将'C:\Users\Lenovo\Desktop\lingodata.xlsx'里的数据导入lingo
1.左键拖动选中'C:\Users\Lenovo\Desktop\lingodata.xlsx'里的数据,快捷键control+F3插入--定义名称为dist,保存好。
2.dist= @OLE('C:\Users\Lenovo\Desktop\lingodata.xlsx','dist');
  将EXCEL中的文件读 入LINGO;

  引用http://zhidao.baidu.com/link?url=grmdcxpz2Fv3X9_4nift-5lx0I7BUiFmeiqA0hQ5p1Z20L6VFfdWVHUw0hM1Z7Zbmg2nhAshuP0hsi50jIJjIq

posted on 2015-07-14 16:39  JackKing_defier  阅读(3989)  评论(0编辑  收藏  举报