<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169460</link>
    <title>MATLAB Central Newsreader - how to open .p and .m files??</title>
    <description>Feed for thread: how to open .p and .m files??</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 17 May 2008 19:32:49 -0400</pubDate>
      <title>how to open .p and .m files??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169460#432680</link>
      <author>KK</author>
      <description>Hello Everyone,&lt;br&gt;
&lt;br&gt;
can anyone tell me how can we see the code of matlab files..&lt;br&gt;
i m trying to .p and .m files but am unable to open that.&lt;br&gt;
&lt;br&gt;
How should i see the code of it?&lt;br&gt;
&lt;br&gt;
in which editor i should see it or it will b seen in the matlab&lt;br&gt;
itself??&lt;br&gt;
&lt;br&gt;
plz help me..&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
KK&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sat, 17 May 2008 19:38:02 -0400</pubDate>
      <title>Re: how to open .p and .m files??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169460#432683</link>
      <author>John D'Errico</author>
      <description>KK &amp;lt;Kartikeya.Karnatak@gmail.com&amp;gt; wrote in message &amp;lt;62f61545-28a0-&lt;br&gt;
446d-8283-772e23ec90e9@x19g2000prg.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello Everyone,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; can anyone tell me how can we see the code of matlab files..&lt;br&gt;
&amp;gt; i m trying to .p and .m files but am unable to open that.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How should i see the code of it?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; in which editor i should see it or it will b seen in the matlab&lt;br&gt;
&amp;gt; itself??&lt;br&gt;
&lt;br&gt;
You cannot open a p-file and see the code. &lt;br&gt;
&lt;br&gt;
Any text editor will allow you to read an&lt;br&gt;
m-file, including the default Matlab editor,&lt;br&gt;
unless it is a built-in function that you will&lt;br&gt;
open. In that event, you cannot read the&lt;br&gt;
code.&lt;br&gt;
&lt;br&gt;
John&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sat, 17 May 2008 19:59:01 -0400</pubDate>
      <title>Re: how to open .p and .m files??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169460#432687</link>
      <author>KK</author>
      <description>On May 18, 12:38 am, "John D'Errico" &amp;lt;woodch...@rochester.rr.com&amp;gt;&lt;br&gt;
wrote:&lt;br&gt;
&amp;gt; KK &amp;lt;Kartikeya.Karna...@gmail.com&amp;gt; wrote in message &amp;lt;62f61545-28a0-&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 446d-8283-772e23ec9...@x19g2000prg.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Hello Everyone,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; can anyone tell me how can we see the code of matlab files..&lt;br&gt;
&amp;gt; &amp;gt; i m trying to .p and .m files but am unable to open that.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; How should i see the code of it?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; in which editor i should see it or it will b seen in the matlab&lt;br&gt;
&amp;gt; &amp;gt; itself??&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; You cannot open a p-file and see the code.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Any text editor will allow you to read an&lt;br&gt;
&amp;gt; m-file, including the default Matlab editor,&lt;br&gt;
&amp;gt; unless it is a built-in function that you will&lt;br&gt;
&amp;gt; open. In that event, you cannot read the&lt;br&gt;
&amp;gt; code.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; John&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
so how can we see the code??&lt;br&gt;
is there any other way?&lt;br&gt;
or no way we can see the code?&lt;br&gt;
&lt;br&gt;
i mean if we want to make any changes how will we do it?&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sat, 17 May 2008 20:51:01 -0400</pubDate>
      <title>Re: how to open .p and .m files??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169460#432692</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;fdce03b4-a881-4a07-a42e-6879ce597705@b9g2000prh.googlegroups.com&amp;gt;,&lt;br&gt;
KK  &amp;lt;Kartikeya.Karnatak@gmail.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;so how can we see the code??&lt;br&gt;
&lt;br&gt;
For functions for which source is provided,&lt;br&gt;
&amp;gt;&amp;gt; type FunctionName&lt;br&gt;
or&lt;br&gt;
&amp;gt;&amp;gt; edit FunctionName&lt;br&gt;
&lt;br&gt;
For example,&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; edit polar&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt;is there any other way?&lt;br&gt;
&amp;gt;or no way we can see the code?&lt;br&gt;
&lt;br&gt;
&amp;gt;i mean if we want to make any changes how will we do it?&lt;br&gt;
&lt;br&gt;
If the source code is not provided, such as for .p files or Matlab&lt;br&gt;
internal function, then to see the source code, all you have to do is&lt;br&gt;
buy a complete Matlab source license. I don't believe that a complete&lt;br&gt;
source license is on their commercial offerings page, but you can speak&lt;br&gt;
to a Mathworks sales representative about it. I believe it to be quite&lt;br&gt;
likely that Mathworks deals with organizations that have very strict&lt;br&gt;
rules about having access to source (in escrow at least) -- Matlab&lt;br&gt;
is too useful of a tool for Mathworks to be likely to refuse to license&lt;br&gt;
use of it for military applications that require the source to be&lt;br&gt;
on file against the possibility of problems of National Interest&lt;br&gt;
(you don't allow a corporation to dictate terms to your military.)&lt;br&gt;
&lt;br&gt;
I have never had a reason to inquire with Mathworks about what they&lt;br&gt;
would charge for a source license, but for one company with&lt;br&gt;
an extensive product that I dealt with in the past, it was open knowledge&lt;br&gt;
that the price of that company's source license was one million dollars.&lt;br&gt;
With inflation and whatnot, it wouldn't surprise me if Mathworks'&lt;br&gt;
asking price was several million.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
If Mathworks chooses not to offer a source license to you,&lt;br&gt;
you still have at least one alternative: you could simply buy the&lt;br&gt;
company. It is, however, a privately held corporation, I believe,&lt;br&gt;
so you will not be able to do a simple purchase on the stock exchange:&lt;br&gt;
you would have to smooze around and find out who owns the private shares&lt;br&gt;
(my understanding is that there must be at least one voting share, by&lt;br&gt;
law) and then find out how much they want. They may just tell you&lt;br&gt;
to get lost, as private companies are not required to sell for&lt;br&gt;
any reason (short of court orders or expropriation), but I rather&lt;br&gt;
believe that they would be open to takeover with a relatively&lt;br&gt;
token offer: it probably wouldn't cost you more than about 80% of&lt;br&gt;
the assets of Microsoft, I would guess. Just a "mark of respect", really.&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;"I think Walter was a very smart man."          -- Gene Autry&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sun, 18 May 2008 18:03:46 -0400</pubDate>
      <title>Re: how to open .p and .m files??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169460#432762</link>
      <author>KK</author>
      <description>On May 18, 1:51 am, rober...@ibd.nrc-cnrc.gc.ca (Walter Roberson)&lt;br&gt;
wrote:&lt;br&gt;
&amp;gt; In article &amp;lt;fdce03b4-a881-4a07-a42e-6879ce597...@b9g2000prh.googlegroups.com&amp;gt;,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; KK  &amp;lt;Kartikeya.Karna...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt;so how can we see the code??&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; For functions for which source is provided,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; type FunctionName&lt;br&gt;
&amp;gt; or&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; edit FunctionName&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; For example,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; edit polar&lt;br&gt;
&amp;gt; &amp;gt;is there any other way?&lt;br&gt;
&amp;gt; &amp;gt;or no way we can see the code?&lt;br&gt;
&amp;gt; &amp;gt;i mean if we want to make any changes how will we do it?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If the source code is not provided, such as for .p files or Matlab&lt;br&gt;
&amp;gt; internal function, then to see the source code, all you have to do is&lt;br&gt;
&amp;gt; buy a complete Matlab source license. I don't believe that a complete&lt;br&gt;
&amp;gt; source license is on their commercial offerings page, but you can speak&lt;br&gt;
&amp;gt; to a Mathworks sales representative about it. I believe it to be quite&lt;br&gt;
&amp;gt; likely that Mathworks deals with organizations that have very strict&lt;br&gt;
&amp;gt; rules about having access to source (in escrow at least) -- Matlab&lt;br&gt;
&amp;gt; is too useful of a tool for Mathworks to be likely to refuse to license&lt;br&gt;
&amp;gt; use of it for military applications that require the source to be&lt;br&gt;
&amp;gt; on file against the possibility of problems of National Interest&lt;br&gt;
&amp;gt; (you don't allow a corporation to dictate terms to your military.)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have never had a reason to inquire with Mathworks about what they&lt;br&gt;
&amp;gt; would charge for a source license, but for one company with&lt;br&gt;
&amp;gt; an extensive product that I dealt with in the past, it was open knowledge&lt;br&gt;
&amp;gt; that the price of that company's source license was one million dollars.&lt;br&gt;
&amp;gt; With inflation and whatnot, it wouldn't surprise me if Mathworks'&lt;br&gt;
&amp;gt; asking price was several million.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If Mathworks chooses not to offer a source license to you,&lt;br&gt;
&amp;gt; you still have at least one alternative: you could simply buy the&lt;br&gt;
&amp;gt; company. It is, however, a privately held corporation, I believe,&lt;br&gt;
&amp;gt; so you will not be able to do a simple purchase on the stock exchange:&lt;br&gt;
&amp;gt; you would have to smooze around and find out who owns the private shares&lt;br&gt;
&amp;gt; (my understanding is that there must be at least one voting share, by&lt;br&gt;
&amp;gt; law) and then find out how much they want. They may just tell you&lt;br&gt;
&amp;gt; to get lost, as private companies are not required to sell for&lt;br&gt;
&amp;gt; any reason (short of court orders or expropriation), but I rather&lt;br&gt;
&amp;gt; believe that they would be open to takeover with a relatively&lt;br&gt;
&amp;gt; token offer: it probably wouldn't cost you more than about 80% of&lt;br&gt;
&amp;gt; the assets of Microsoft, I would guess. Just a "mark of respect", really.&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt;   "I think Walter was a very smart man."          -- Gene Autry&lt;br&gt;
&lt;br&gt;
thanks very much for this suggestion of buying the company..&lt;br&gt;
ll ask my CA's to work on this.. :)&lt;br&gt;
&lt;br&gt;
cya&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
