How to load parameters in different format?

3 ビュー (過去 30 日間)
Elia Paini
Elia Paini 2022 年 7 月 21 日
編集済み: dpb 2022 年 7 月 26 日
Hi, I'm interested in code optimization. Since I have many parameters, vectors and matrices to be initialized in my code, I'm looking for another formats (binary?) or strategies to load them.
How can I do it?
Thank you!
  7 件のコメント
Elia Paini
Elia Paini 2022 年 7 月 26 日
編集済み: Elia Paini 2022 年 7 月 26 日
Thanks! How can I load data in this way?
dpb
dpb 2022 年 7 月 26 日
編集済み: dpb 2022 年 7 月 26 日
That all depends on how you organize your file -- again, without more specifics, it's hard to hypothesize particular solutions...that's the thing about writing code -- it's all in the details; generalities don't produce design specifications.
It also all depends on what kind of a tool you're building -- if you're just working at command line mostly and calling some user functions, perhaps the workspace variable editor could be just the thing to use...or, if it's to be a fully-packaged compiled app for general distribution, then it is probably necessary to design the data import/export facilities to match.
We simply do not know...
<data-import-and-export> is link to top-level section that describes all the possibilities and outlines various standard formats that could choose from...see what tickles your fancy/matches your idea of how you would like to interact with the program you're building.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDebugging and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by