
Kojiro Saito
MathWorks
Application Engineer at The MathWorks (Japan).
Experience:
-Remote Sensing
-Image Processing
-GIS including WebGIS
-Parallel computing
-Distributed computing
Special interest:
-Parallel / distributed computing
-Enterprise solution (Web, database)
-GIS, mapping
DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.
NOTE: Please do not send me individual messages or questions, as I will not be able to respond to them. If you have technical questions about MATLAB, please use the various resources on MATLAB Central. If you have a valid license, you can also use Technical Support.
Statistics
RANK
67
of 258.044
REPUTATION
2.020
CONTRIBUTIONS
0 Questions
491 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
408
RANK
of 17.782
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
2 Public Channels
AVERAGE RATING
48
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Update image on appdesigner
uiimage's ImageSource allows "m-by-n-by-3 truecolor image array", so how about specifying image array? overWrittenImage = imrea...
27 dagen ago | 0
| accepted
matlabでpythonモジュール(solve_ivp)を実行できない。
MATLAB R2021a Update6、Python 3.8.10、Scipy 1.7.3及び1.8.0で試しましたが私の環境では再現しませんでした。 Stack overflowに同様のエラーが報告されていて、os.environ['KMP_DUP...
ongeveer een maand ago | 0
| accepted
OpenPoseを用いた深層学習を使用した体の姿勢の推定の例で画像ではなく,動画ファイルにおける人の姿勢の推定を行う方法について
こちらのドキュメント「ビデオ ファイルの読み取り」が参考になると思います。imreadは静止画像用の読み込み関数なので、mp4の動画の場合は、VideoReaderとreadFrameで読み取れます。 1フレームだけ読み取る場合は vidObj = V...
ongeveer een maand ago | 1
Version of the license server for MATLAB R2022a?
You can download License Manager binaries from here. As of R2022a, FlexNet 11.18.1 is used.
ongeveer een maand ago | 0
| accepted
MATLAB Compiler (SDK) で LogicAnalyzer を動かそうと思っても、名前dsp.LogicAnalyzerを解決できません のエラーになる
パッケージ後にできるログ(PackagingLog.html)を見ると、以下のログが確認できました。 警告: MATLAB Compiler ライセンスに従って、"C:\xxx\LogicTest.m" 内の "dsp.LogicAnalyzer" ...
ongeveer een maand ago | 1
| accepted
MATLAB GUI上でのコールバック関数操作
GUIのコールバックでもプロットは同じように動作すると思います。私の環境では、MATLABのコマンドウィンドウでもplotの行でmatlab.graphics.data.DataMap/addChannel の同じエラーが出ました。tiとy2がテーブル型に...
ongeveer een maand ago | 0
| accepted
スタンドアロンアプリケーションで配列を引数として渡す方法
ターミナルから入力される場合、数値ではなく文字列として扱われてしまうためだと思われます。文字列(char)だったら数値(numまたはdouble)に変更するコードを追加すれば大丈夫です。 なお、iは虚数を表す予約変数名でもあるので、ここではnと表記し...
ongeveer 2 maanden ago | 0
| accepted
Using MATLAB Engine API for Python
It's because engine.start_matlab launches a new MATALB session and there's no variable in workspace. You need to create a sessi...
ongeveer 2 maanden ago | 2
pythonから指定フォルダに存在するMATLABスクリプトを呼び出したい
addpathするか、起動時のオプション「-sd」を付けるかの方法があります。 triarea.mが C:\Code フォルダにあるとします。 (1) addpathする方法 import matlab.engine eng = matlab.en...
ongeveer 2 maanden ago | 0
| accepted
APPdesingnerを使用した場合のアプリ間の数値の引き渡しについて
ドキュメント(マルチウィンドウ アプリでのデータ共有)が参考になると思います。 openExample('matlab/TopLevelMultiwindowAppExample','supportingFile','DialogAppExample'...
2 maanden ago | 1
全角文字と半角文字を判別する方法を教えていただきたいです。
半角カナも対象にする場合は、doubleでcharにキャストすると127を超えてしまうので、unicode2nativeでバイトに変換する方法が堅牢です。 Shift-JISだと半角が1バイト、全角が2バイトになるので、バイト数が1なら1、それ以外なら0...
2 maanden ago | 1
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...
3 maanden ago | 0
| accepted
エクセルシートの文字色を調べる
こちらの回答が参考になります。 Windows OS限定のやり方になりますが、actxserverというCOMインタフェースを使う方法で実現できます。 注意点としては、actxserverで立ち上げたExcelだとカレントフォルダがMATLABと違って...
3 maanden ago | 1
| accepted
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...
3 maanden ago | 0
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...
3 maanden ago | 0
C言語からMATLABdllを呼び出して、Cからdllへ画像を受け渡して、dllから結果画像を受け取る際に変数はどのように渡されているのでしょうか。
dllexample関数でimage配列にアクセスする際にaccess violationが発生しています。 image = mxCreateNumericArray(3, (const mwSize*)dims, mxUINT8_CLASS,0); ...
3 maanden ago | 0
| accepted
図をpdfにて出力する際に生じる日本語の文字化けについて
Macの場合、exportgraphicsでPDFにするとフォントの種類によっては埋め込みがうまくいかないようです。R2021bでも同様の症状が発生しました。Windowsでは起こりませんでした。 2つワークアラウンドをご提示します。 (1) Fi...
4 maanden ago | 1
| accepted
How to use importKerasNetwork in standalone executable.
importKerasNetworkのアドオンがコンパイル時にうまく含まれていないようです。 その場合、手動でサポートパッケージのファイルを追加することで解決できます。 アプリケーションコンパイラの「アプリケーションの実行に必要なファイル」の欄で「...
4 maanden ago | 0
| accepted
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...
4 maanden ago | 0
| accepted
HTTPS commands with MATLAB
webread would be the solution. %% For turning on onUrl = 'https://myIPaddress/H'; data = webread(onUrl); %% For turning of...
4 maanden ago | 0
| accepted
Can MATLAB be run on Azure from a Mac?
Microsoft provides "Microsoft Remote Desktop for Mac" and it will be OK.
4 maanden ago | 0
colorbarの変更に関して
colorbarの配色(カラーマップ)はcolormap で指定できますが、デフォルトで用意されているjetとかturboとかのマップに赤色→黄色→緑色の配色は無いです。 ただ、RGBを設定して独自のカラーマップを作ることができます。例えば赤色→黄色→緑...
4 maanden ago | 2
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...
4 maanden ago | 0
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...
4 maanden ago | 1
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...
4 maanden ago | 0
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...
4 maanden ago | 0
| accepted
App Designer _ PushButton Callback
Simple way is to add web function in ButtonPushed callback. % Button pushed function: Button function ButtonPushed(app, event)...
4 maanden ago | 0
| accepted
【App Designer】ある区間のデータ数を記録するアプリの作成について
「== 演算子」と関数find の組み合わせで実現できそうです。 スピナーを2つ置いて、StartSpinnerの値が1列目の開始値のトリガー、EndSpinnerの値が2列目の終了値のトリガーになるようにしたサンプル(.mlappファイル)を添付します...
4 maanden ago | 1
| accepted
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}....
4 maanden ago | 0
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 ...
5 maanden ago | 0