楼主: kerrydu
6788 10

[mata问题求助] stata怎么查看(打开)程序包中的mlib文件 [推广有奖]

  • 11关注
  • 6粉丝

已卖:766份资源

学科带头人

46%

还不是VIP/贵宾

-

TA的文库  其他...

计量大杂烩

威望
0
论坛币
6197 个
通用积分
1.7598
学术水平
53 点
热心指数
80 点
信用等级
42 点
经验
25384 点
帖子
610
精华
0
在线时间
3733 小时
注册时间
2011-4-1
最后登录
2023-12-4

楼主
kerrydu 发表于 2013-9-15 08:38:35 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
如题,thanks in advance
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Stata tata 程序包 lib ADVANCE 程序

本帖被以下文库推荐

沙发
hsl秦时明月 在职认证  发表于 2013-9-15 08:53:27
找到工程文件夹下的.dsw文件,双击打开后就能修改了

左边的classview里面展开globals就能看见所以你申明的函数和变量了,再修改啊
顺其自然

藤椅
fionajin91 发表于 2013-9-15 08:57:33

板凳
kerrydu 发表于 2013-9-15 09:59:02
hsl秦时明月 发表于 2013-9-15 08:53
找到工程文件夹下的.dsw文件,双击打开后就能修改了

左边的classview里面展开globals就能看见所以你申明 ...
请问stata的工程文件夹是哪个?在stata目录下没找到.dsw文件啊

报纸
dxystata 发表于 2013-9-15 13:29:30
mlib files contain the object code for one or more functions. Functions which happen to be stored
in libraries are called library functions, and Mata’s library functions are also stored in .mlib libraries.
You can create your own libraries, too.
Mata provides two ways to store object code:
1. In a .mo file, which contains the code for one function
2. In a .mlib library file, which may contain the code for up to 500 functions
.mo files are easier to use and work just as well as .mlib libraries; see [M-3] mata mosave. .mlib
libraries, however, are easier to distribute to others when you have many functions, because they are
combined into one file.
Outline of the procedure for dealing with libraries
Working with libraries is easy:
1. First, choose a name for your library. We will choose the name lpersonal.
2. Next, create an empty library by using the mata mlib create command.
3. After that, you can add new members to the library at any time, using mata mlib add.
.mlib libraries contain object code, not the original source code, so you need to keep track of the
source code yourself. Also, if you want to update the object code in a function stored in a library,
you must re-create the entire library; there is no way to replace or delete a member once it is added.
We begin by showing you the mechanical steps, and then we will tell you how we manage libraries
and source code.

地板
kerrydu 发表于 2013-9-16 09:23:20
dxystata 发表于 2013-9-15 13:29
mlib files contain the object code for one or more functions. Functions which happen to be sto ...
谢谢版主。看来mlib也是个黑箱啊

7
dxystata 发表于 2013-9-16 11:16:06
http://www.stata.com/statalist/archive/2007-05/msg00549.html

偶还遇到过mo文件,也看不到!

8
RCbichao 学生认证  发表于 2017-2-16 09:10:32
kerrydu 发表于 2013-9-16 09:23
谢谢版主。看来mlib也是个黑箱啊
请问这问题你解决了吗?我也遇到了同样的问题。

9
宗涯 发表于 2020-5-1 12:10:35
请问楼主解决这个问题了吗,我也打不开mlib后缀的文件

10
阳光下117 学生认证  发表于 2021-10-10 20:02:58
请问mlib文件到底怎么用啊啊啊?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-3 22:01