フィルターのクリア

Is it possible to make a line of my matlab program invisible and at the same time include that line while running the program?

1 回表示 (過去 30 日間)
I wish to hide those lines from the screen
  2 件のコメント
Jan
Jan 2018 年 3 月 24 日
Do you mean a line in a diagram, or line of code? What does "from the screen" exactly mean: Where should vanish what?

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

回答 (1 件)

John D'Errico
John D'Errico 2018 年 3 月 24 日
編集済み: John D'Errico 2018 年 3 月 24 日
Sorry, but no. Well, and yes, to some extent. How is that for a definite answer? It kind of depends on what you really want to do here.
At best, you could define it in a separate file, then p-code the file to be un-viewable. Nobody can read/view p-coded files.
If it is just that you don't want to see the code yourself, then you can fold it up in the editor. That effectively makes it as if it is not seen.
And again, you can always put something in a separate m-file, then just call that function (or script).
  2 件のコメント
Jan
Jan 2018 年 3 月 26 日
"Nobody can read/view p-coded files." - Do not overestimate the protection level of P-coded files. It is a valid and reliable method for obfuscating the code, but not a strong encryption.
After a P-file is imported to Matlab, you find it in the memory dump. Then the main protection is that all users have accepted the license conditions, which forbid a reverse-engineering.
John D'Errico
John D'Errico 2018 年 3 月 26 日
Yes, it is theoretically possible. Lots of things are so. For example, theoretically, we should already have manned missions on their way to Mars. But practicality is often at odds with theory.

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

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by