Answered
Application Compiler types not showing
You need to launch Library Compiler App. Excel Add-in is in the list.

9 months ago | 1

| accepted

Answered
How to install "mpm" command?
There are two MPM, one is in MATLAB installation (with matlab -mpm) and the other is from GitHub. I found that mpm install-doc d...

9 months ago | 0

Answered
スタンドアロンアプリ作成時のパッケージ化について
サポートパッケージによっては、全てのファイルがパッケージに含まれないことがあるので、今回のようなpファイル (難読化されたスクリプト)だと手動でパッケージに追加するなどの対応が必要になります。 ただ、全てのファイルが含まれていなくてもサポートパッケージの...

9 months ago | 0

Answered
Is there a MATLAB toolbox for processing GRACE data?
There are several community GRACE tools for MATLAB. Did you try one of them? GRACE Matlab Toolbox (GRAMAT) GRACETOOLS MATLAB ...

9 months ago | 1

| accepted

Answered
Linux端末上のMatlabプログラムの呼び出し方法について
質問① こちらは、Linux側にWebサーバーやCGIが立っていればHTTPで投げられますが、何もなければSSHでの実行となります。 下記のようなコマンドをWindowsのMATLABのアプリから実行するイメージです。 system("ssh use...

9 months ago | 0

Answered
特定の文字が含まれる隣の値を抽出する
ドキュメント「条件を満たす配列要素の検索」が参考になると思います。"引上げ"に合致する行をインデックスで取得すれば良いかと。 format long A = readtable('data.csv', 'NumHeaderLines', 0, 'Tex...

9 months ago | 1

| accepted

Answered
saveas(gcf,save_name+".png")をフォルダを指定して保存
saveasの第2引数に「フォルダー名\」 (Windowsの場合)、「フォルダー名/」(LinuxとMacの場合)を入れるか、fullfileでフォルダー名入りのパスを作ればできます。 例えば現在のフォルダーの中にあるresultというフォルダーに入れ...

9 months ago | 3

| accepted

Answered
アプリをインストールしたのに、アプリ一覧に表示されない
ツールボックスとアプリが混同してしまっているかもしれません。 SimulinkやStateflow、MATLAB Coderなどはツールボックス (製品)で、「アプリ」はGUIで操作できるツールボックスの機能になります。全てのツールボックスがMATLAB...

9 months ago | 0

| accepted

Answered
仮想メモリがWindowsPC設定値よりも大きい理由
「Windows 64bit OS上で一つの変数が​使用できるメモリ容量​を確認する方法はあり​ますか?」の回答が参考になると思います。 各 Largest Contiguous Free Blocks は、一つの変数が使用できる最大メモリを示してい...

9 months ago | 0

Answered
readtableが勝手にアンダーバーで分割するのを通常通りコンマで分割してほしい
readtable のオプションでDelimiterを指定できますので、コンマで区切るように指定してみたら実現できます。 file1 = 'https://jp.mathworks.com/matlabcentral/answers/uploaded_f...

9 months ago | 0

Answered
Creation of projection metadata file (*.prj) for shapefiles
As of R2023a, shapewrite does not create .prj file, so you need to create it with wktstring and writematrix. Here is a sample. ...

10 months ago | 1

| accepted

Answered
オートコーディング機能を適用しても,かっこや引用符のオートコンプリートが実行されない。
エディターでの自動補完はR2021bからの機能になっており、R2021aでは対応していません。 R2021aではライブエディターとApp Designerで自動補完に対応していますが、そちらは動作しておりますでしょうか。

10 months ago | 0

| accepted

Answered
MATLAB Compilerで作成したEXEファイルから、MATLABスクリプト(.mファイル)で定義されるコマンドを読み込む方法はありますか?
mファイルを実行するにはMATLABが必要になってしまい、PlotData.exeからMATLABを呼び出すという形になりMATLAB Compilerでパッケージ化してデプロイする意図が薄れてしまいます。 .mや.mlx以外で、例えば.csvや.xls...

10 months ago | 0

| accepted

Answered
How to acces coordinates of a mappolyshape object?
You can check X and Y data by converting to table with geotable2table function. hydro = readgeotable("concord_hydro_area.shp");...

10 months ago | 1

| accepted

Answered
どうしたらエラーが出なくなるでしょうか
I>200を実行したときに、RGBそれぞれの色の配列で輝度値が200より大きいものが1、200以下が0となる、1か0かのlogical配列が作られます。kのサイズはm行n列×3 (RGB)のlogical配列です。 方法1 エラーメッセージにあると...

10 months ago | 2

Answered
why won't Matlab plot anything?
Your code works fine. R1=5; R2=7; thetaP=linspace(0, 2*pi); plot(R1*cos(thetaP), R1*sin(thetaP), '-b', ... R2*cos(t...

10 months ago | 0

Answered
compiling custom made trained deep nn with Library Compiler for calling from Python
In Library Compiler, Support Packages are automatically included. If not, you can manually add the support package by "-Z p...

11 months ago | 0

Answered
How to solve error, Web App Server service failed to start. No logs were written.
How about uninstalling Windows Service of MATLAB Web App Server? webapps-uninstall Document: webapps-uninstall Then, try se...

11 months ago | 0

| accepted

Answered
web app does not show UIAxes
In R2023a general release, there was a bug regarding axes and web apps. [Bug Report] MATLAB graphics objects, such as axes, plo...

11 months ago | 0

Answered
I can't set up the MATLAB Production Server dashboard, why?
This issue was discussed in the comments of another post and solved. First add "<MATLAB_Production_Server_Install_Root>\bin\wi...

11 months ago | 0

| accepted

Answered
MATLABからSimulinkを開く際の解決策が実行できない
インストーラーのフォルダーではなく、MATLABがインストールされたフォルダー(デフォルトではC:\Program Files\MATLAB\R2023a)の中の\bin\win64にある3つのexeファイルを除外リストに追加してみてください。

11 months ago | 2

| accepted

Answered
マトラボコードのブレークポイントについて
指定した範囲に全てブレークポイントを貼る質問への直接的な回答ではないのですが、デバッグのコツとして「ステップ」とステップイン」があります。 ブレークポイントを貼った行で実行が一時停止されますが、その後に「ステップ」をクリックすると次の1行を実行します...

11 months ago | 3

Answered
File Exchange上のコードをMATLAB onlineで用いる
File Exchangeのコードがどのような形態でダウンロードできるようになっているかによりますが、ダウンロードボタンがあればそのZipファイルリンクを取得できるのでMATLAB Onlineからwebsaveで保存できますし、GitHubのリンクがあれ...

11 months ago | 1

Answered
Opening PDF from web app
web('xxx.pdf') works in compiled Web App, but you need to add the pdf in the "Files required for your app to run" panal by editi...

11 months ago | 0

| accepted

Answered
Service error MatLab Web app server 2021b
I found "Failed to add local user" error. Could you try the following answer? Why do I get Error Failed to add local user: "MA...

11 months ago | 0

Answered
陸域をmaskする方法
確かに全世界のデータをそのまま適用すると、isinteriorのところで「要求された 1323x4502250 (44.4GB) 配列は、最大配列サイズの基本設定 (31.8GB) を超えています。これにより、MATLAB は反応しなくなる可能性があります...

11 months ago | 0

Answered
陸域をmaskする方法
isinterior関数 (Mapping Toolbox)を使用して、陸域のポリゴンの内か外かを判定し、ポリゴン内の流速データをNaNに変換すれば実現できます。 以下がコード例です。流速データのuv.matが手元に無いので、ドキュメントに含まれている風...

11 months ago | 0

Answered
Simulink スタートページに飛ばない
「トレンドマイクロ社製​のセキュリティソフト​ウェアが常駐している​環境で、Simuli​nk や App Designer などの Web ベースのアプリケーシ​ョンを使用できないの​はなぜですか?」と同件かと思われます。 セキュリティ対策ソフトを使用...

12 months ago | 1

| accepted

Answered
!(エスケープ演算子)内で変数を用いる
sprintfコマンドでフルコマンドの文字列を作り、MATLABコマンドを実行するevalで感嘆符演算子付きでおこなうか、OSのコマンドが実行できるsystemコマンドで感嘆符抜きで実現できます。 evalコマンドの例 cmd = sprintf("!...

12 months ago | 1

| accepted

Answered
解析区間の指定方法について
いくつかやり方はありますが、find関数でfind(x, n)である条件のn番目の点を見つけられるので、これを使ってみたら簡単かと思います。 load('data.mat') plot(a) % 加速度の最大値の20%以下の最初の点 (n=1) x...

12 months ago | 1

| accepted

Load more