Respondida
APPdesingnerを使用した場合のアプリ間の数値の引き渡しについて
ドキュメント(マルチウィンドウ アプリでのデータ共有)が参考になると思います。 openExample('matlab/TopLevelMultiwindowAppExample','supportingFile','DialogAppExample'...

casi 4 años hace | 1

Respondida
全角文字と半角文字を判別する方法を教えていただきたいです。
半角カナも対象にする場合は、doubleでcharにキャストすると127を超えてしまうので、unicode2nativeでバイトに変換する方法が堅牢です。 Shift-JISだと半角が1バイト、全角が2バイトになるので、バイト数が1なら1、それ以外なら0...

casi 4 años hace | 1

Respondida
Appdesigner Importing Numerical Data via Notepad
After putting a breakpoint, it turns out that T is empty table. readtable tries to read the txt file with comma delimeter. S...

casi 4 años hace | 0

| aceptada

Respondida
エクセルシートの文字色を調べる
こちらの回答が参考になります。 Windows OS限定のやり方になりますが、actxserverというCOMインタフェースを使う方法で実現できます。 注意点としては、actxserverで立ち上げたExcelだとカレントフォルダがMATLABと違って...

alrededor de 4 años hace | 1

| aceptada

Respondida
How to save a txt file through gui app designer ?
For creating .txt files, there are various ways including save (with '-ascii' option), writatable, writematrix, writecell and fo...

alrededor de 4 años hace | 0

Respondida
I can't find matlab webapp server 'script' directory.
There are two versions of MATLAB Web App Server. (1) MATLAB Web App Server Product Requires server license Full functionali...

alrededor de 4 años hace | 1

Respondida
C言語からMATLABdllを呼び出して、Cからdllへ画像を受け渡して、dllから結果画像を受け取る際に変数はどのように渡されているのでしょうか。
dllexample関数でimage配列にアクセスする際にaccess violationが発生しています。 image = mxCreateNumericArray(3, (const mwSize*)dims, mxUINT8_CLASS,0); ...

alrededor de 4 años hace | 0

| aceptada

Respondida
図をpdfにて出力する際に生じる日本語の文字化けについて
Macの場合、exportgraphicsでPDFにするとフォントの種類によっては埋め込みがうまくいかないようです。R2021bでも同様の症状が発生しました。Windowsでは起こりませんでした。 2つワークアラウンドをご提示します。 (1) Fi...

alrededor de 4 años hace | 1

| aceptada

Respondida
How to use importKerasNetwork in standalone executable.
importKerasNetworkのアドオンがコンパイル時にうまく含まれていないようです。 その場合、手動でサポートパッケージのファイルを追加することで解決できます。 アプリケーションコンパイラの「アプリケーションの実行に必要なファイル」の欄で「...

alrededor de 4 años hace | 0

| aceptada

Respondida
C言語でBMP画像を読み込み、matlabで処理するDLLに引き渡して処理をしたい時、画像の渡すにはどうすればよいのですか?
ドキュメント(https://jp.mathworks.com/help/releases/R2020b/compiler_sdk/cxx/calling-a-shared-library.html)の「Call a C Shared Library fr...

alrededor de 4 años hace | 0

| aceptada

Respondida
HTTPS commands with MATLAB
webread would be the solution. %% For turning on onUrl = 'https://myIPaddress/H'; data = webread(onUrl); %% For turning of...

alrededor de 4 años hace | 0

| aceptada

Respondida
Can MATLAB be run on Azure from a Mac?
Microsoft provides "Microsoft Remote Desktop for Mac" and it will be OK.

alrededor de 4 años hace | 0

Respondida
colorbarの変更に関して
colorbarの配色(カラーマップ)はcolormap で指定できますが、デフォルトで用意されているjetとかturboとかのマップに赤色→黄色→緑色の配色は無いです。 ただ、RGBを設定して独自のカラーマップを作ることができます。例えば赤色→黄色→緑...

alrededor de 4 años hace | 2

Respondida
How to call Matlab transfer function from Python using Matlab engine?
As this document describes, Python's list will be converted to cell array in MATLAB Engine. Simple way is to convert the list t...

alrededor de 4 años hace | 0

Respondida
Using Database Toolbox Interface for MongoDB in a Matlab Web App
JDBC driver of Mongo DB might not be included in your package file. Aftere installing mlpkginstall file, the JDBC driver will b...

alrededor de 4 años hace | 1

Respondida
Save struct with struct
save would be found under MATLAB_ROOT\toolbox\matlab\general\save.m. But as the warning said, you have another save.m under you...

alrededor de 4 años hace | 0

Respondida
Can I use .aws/config file to provide AWS S3 credentials?
readtable checks AWS Credentials either environment variable "AWS_SHARED_CREDENTIALS_FILE" ".aws/credentials" file environme...

alrededor de 4 años hace | 0

| aceptada

Respondida
App Designer _ PushButton Callback
Simple way is to add web function in ButtonPushed callback. % Button pushed function: Button function ButtonPushed(app, event)...

alrededor de 4 años hace | 0

| aceptada

Respondida
【App Designer】ある区間のデータ数を記録するアプリの作成について
「== 演算子」と関数find の組み合わせで実現できそうです。 スピナーを2つ置いて、StartSpinnerの値が1列目の開始値のトリガー、EndSpinnerの値が2列目の終了値のトリガーになるようにしたサンプル(.mlappファイル)を添付します...

alrededor de 4 años hace | 1

| aceptada

Respondida
Custom Geobasemap with ESRI map
The URL might be url = 'https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/tile/${z}/${y}/${x}....

alrededor de 4 años hace | 0

Respondida
set connection timeout in java for MPS client
5*6*1000 is 30000 milliseconds (=30 seconds). Are you sure you set 5*60*1000 ? public long getTimeOutMs() { log.info("MPS ...

alrededor de 4 años hace | 0

Respondida
cellをcategaricalに変更する方法
「非セル配列オブジェクトにセル要素を代入しています。」のエラーは、labels{1,1}のところで起きています。 中括弧{}で要素にアクセスするのはセル配列だけできるのですが、labelsは2x1のcategorical配列で、セルにはなっていません...

alrededor de 4 años hace | 0

| aceptada

Respondida
凡例の複数行化エラー:cell 型の値をインデックスとして使用できません。
コードのどこかにlegendという変数を定義していたり、legend.mというカスタムの関数を書いたりしていませんでしょうか? which legend -all を実行してみて、<MATLABインストールフォルダ>\toolbox\matlab\sc...

alrededor de 4 años hace | 1

Respondida
バックスラッシュを入力したいが¥に変換される。
addpathのドキュメントを読むと、括弧の中身は文字ベクトル または string スカラーとなっています。 半角のシングルクォーテーション(')かダブルクオーテーション(")で括って、以下のように実行してみるとできると思います。 addpath(...

alrededor de 4 años hace | 1

| aceptada

Respondida
Run a java program inside Matlab with a input file.
It might be better to read JavaFoil document. I'm not familiar with JavaFoil, but it seems that "Script" option allows input f...

alrededor de 4 años hace | 0

| aceptada

Respondida
関数endclearに関するエラーの解決法
ドキュメントのコード例を確認しましたが、freezeWeightsの中身はendclearではなく、endだけになっていました。 function layers = freezeWeights(layers) for ii = 1:size(layer...

alrededor de 4 años hace | 2

| aceptada

Respondida
unrecognised function "detectSIFTfeature" in MATLAB 2021a
detectSIFTFeatures was introduced in Computer Visiton Toolbox in R2021b. Do you have Computer Visiton Toolbox, and are you able...

más de 4 años hace | 2

| aceptada

Respondida
ライブスクリプトで一定の行区間を実行する方法
スクリプトにセクションを区切るのがご要望にあっていると思われます。 ライブスクリプトで「セクション区切り」をクリックして、セクションを分けられます。 セクション毎に「セクションの実行」か「実行して次に進む」でマウスカーソルが置いてあるセクションだけ...

más de 4 años hace | 2

| aceptada

Respondida
グループごとにretimeを適用する
【編集後】 いただいたコメントでやりたいことが理解できました。 グループ番号毎にtimeが2019/4/1~2020/3/31で、datacountが0の配列(下記のコードでnewTで定義したもの)を作り、変数Tに含まれている日付とグループ番号の場合は...

más de 4 años hace | 1

| aceptada

Respondida
DNG形式の画像を読み込みたい
非圧縮のDNG画像でしたら、imread、imfinfoなどが使えます。 R2021bで試しましたが、 info = imfinfo("xxx.DNG"); % メタ情報を取得 info2 = rawinfo("xxx.DNG"); % Image ...

más de 4 años hace | 1

| aceptada

Cargar más