フィルターのクリア

Hello please help me

2 ビュー (過去 30 日間)
fatima ali
fatima ali 2014 年 9 月 6 日
コメント済み: Image Analyst 2014 年 9 月 6 日
Welcome
Please, I need some answers for my questions:
  1. How to open .p file and read it .
  2. How to save only one variable because when run save, it saved all variables in the program.
  3. Can I delete a file on disk by matlab instruction.
Note that the program does not work properly
Thank you

回答 (1 件)

Image Analyst
Image Analyst 2014 年 9 月 6 日
Then,
  1. I don't use p-files but I believe they are opened/run just by typing their name on the command line. They're encrypted so you may not see anything intelligible if you open them in the text editor/debugger window.
  2. Put the variable name in single quotes: save(fullFuleName, 'oneVar');
  3. Use the delete function: delete(fullFileName);
  2 件のコメント
fatima ali
fatima ali 2014 年 9 月 6 日
no open too
Image Analyst
Image Analyst 2014 年 9 月 6 日
You can't. The whole point and reason why someone went to the trouble of converting the MATLAB source code into encrypted p-code is that they don't want you to just open the file in the editor and see the source code .

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by