Hello please help me
이전 댓글 표시
Welcome
Please, I need some answers for my questions:
- How to open .p file and read it .
- How to save only one variable because when run save, it saved all variables in the program.
- Can I delete a file on disk by matlab instruction.
Note that the program does not work properly
Thank you
답변 (1개)
Image Analyst
2014년 9월 6일
0 개 추천
First, read this: http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup
Then,
- 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.
- Put the variable name in single quotes: save(fullFuleName, 'oneVar');
- Use the delete function: delete(fullFileName);
댓글 수: 2
fatima ali
2014년 9월 6일
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 .
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!