Community Profile

photo

Kojiro Saito


Last seen: Today

MathWorks

338 total contributions since 2016

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.

Contact

Kojiro Saito's Badges

  • 36 Month Streak
  • First Review
  • Knowledgeable Level 4
  • Pro
  • Revival Level 2
  • First Answer

View details...

Contributions in
View by

Answered
インデックスが配列要素数(1)を超えています。
おそらくtfはstruct(構造体配列)でしょうか。1行1列の構造体のようなので、tf(1)はリターンが返ってきますが、それより大きな数字を入れると要素数を超えるという上記のエラーが起きてしまいます。「's'」を入れるとdouble('s')の値115と解...

2 days ago | 0

Answered
MATLABからAWSにテキストファイルを送信したい
関数writeはtall配列を書き込む関数で、datastoreを直接書き込むことができません。 tt = ds; のところを tt = tall(ds); にすればS3にファイルが書き込まれると思います。

6 days ago | 0

| accepted

Answered
matlabでvbsを実行する方法
WindowsのCScriptやWScriptを実行させる方法でどうでしょうか。 MATLABから!記号やsystemコマンドでOSのコマンドを実行できますので、以下のように.vbsファイルをバッチモード(//B)で実行できます。 !CScript v...

9 days ago | 0

| accepted

Answered
csvデータをLSTMで学習する
CSVデータを使ってLSTMで学習させることはできます。 例えば、こちらではCSVファイルのテキストを読み取り、シークエンスに変換してLSTMを含むネットワークでtrainNetworkをしています。 https://jp.mathworks.co...

16 days ago | 0

Answered
install the Python engine error message
Please make sure that you have downloaded 64bit Python installer from https://www.python.org/downloads/. Supported Python versi...

20 days ago | 1

| accepted

Answered
アプリケーションコンパイラのエラーについて
コンパイルしようとしているMushraの関数の一部を見せていただいたので、原因が分かりました。コンパイル後のMushra.exeをダブルクリックするなどして、入力引数無しで実行する場合、 config = varargin{1}; の部分で「インデック...

20 days ago | 2

| accepted

Answered
functionで関数を作る方法
コマンドウィンドウで上記の関数を定義されようとしていませんでしょうか? コードファイルというのはスクリプトかライブスクリプトのことで、この中で関数を書く必要があります。 MATLABのホームタブから「新規スクリプト」をクリックしてエディターを開き、...

23 days ago | 1

| accepted

Answered
Using two license servers
This answer may help you. You can specify first and second license servers using MLM_LICENSE_FILE environment variable. Add a ...

29 days ago | 0

Answered
Error 5---What Matlab version (Windows) should I download and install?
Windows 8.1 was supported in R2013a to R2018a. https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq...

1 month ago | 0

Answered
Dot indexing Error Running Script on Matlab Production Server
After reading this question, I think this issue might be because you're loading a mat file with an output argument. dataset_loa...

1 month ago | 0

Answered
Matlab Production Server Error Using Load Command
You can check by the work folder of the CTF file by using pwd in MATLAB Production Server. I suppose now the work folder is C:\P...

1 month ago | 0

Answered
How do I chose the correct version of python when trying to install the Matlab Engine API?
As of R2020a, Python 3.8 is not supported yet. Your "python" command is an alias of Python 3.8, so you need to specify the full ...

1 month ago | 0

| accepted

Answered
Cut part of filename using delimiter
If you're using R2016b or later, extractBefore might be a good option. newStr = extractBefore(name, "_SNR"); name_join = strca...

1 month ago | 1

| accepted

Answered
Can't both import os.system and matlab.engine at the same time in the header
It's because os.system keeps open until called MATLAB exits. That's why I proposed to open another terminal in my Answer. I gue...

2 months ago | 0

| accepted

Answered
Can't open demo?
This example requires Simulink Design Optimization and pidtune_demo model is located under this toolbox. $MATLAB_INSTALL_FOLDE...

2 months ago | 0

| accepted

Answered
GUI for Simulink as a standalone (load_system is excluded from packaging)
load_system, close_system and save_system are not supported by MATLAB Compiler as described in this list. https://www.mathworks...

2 months ago | 0

| accepted

Answered
How to create a python 3 class to start MATLAB and keep it running
How about using matlab.engine.shareEngine? test.py import os class Test: def __init__(self): self.eng = os.sy...

2 months ago | 0

| accepted

Answered
How do I end this Matlab App Designer switch callback?
Updated answer I understand what you're looking for. You can implement flashing lights using timer class. First, you need to...

2 months ago | 1

| accepted

Answered
Parallel computing - hyperthreading
From R2016b, you can use multi threads on each Parallel Computing Toolbox's worker by configuring NumThreads. Also, from R2020a...

2 months ago | 1

| accepted

Answered
ワークスペース上の変数をAppDesignerでプロットする
evalinコマンドでワークスペースから変数を取ってくればできます。 座標軸を(app.UIAxes)をApp Designerの設計ビューに置いて、 以下のようなコマンドをアプリのstartupFcnやボタンのコールバックに入れてみてください。 x...

2 months ago | 1

| accepted

Answered
Can't load Python module on Matlab production server
I suspect that Python in the server might be mixed with 32bit and 64bit. Could you confirm you're using only 64 bit version of P...

2 months ago | 0

Answered
By Closing GUI, clear all global variables.
Assuming you're creating App Designer app (UI Figure-based app), you can set CloseRequestFcn in uifigure. If you're using App De...

3 months ago | 0

Answered
パワーポイントへのfigureの貼り付け
Windows限定の方法になりますが、MATLAB本体の機能のCOM(actxserver)でできます。 例えば、以下のサンプルでは、カレントフォルダーにあるtest.pptxを開いて、スライド2の中心にFigureを貼り付けることができます。 %...

3 months ago | 0

Answered
How to write a .csv file from a 1x2 cell?
This document is helpful for undestanding exporting cell array to csv files. https://www.mathworks.com/help/matlab/import_expor...

4 months ago | 0

| accepted

Answered
How to share MATLAB Online generated CSV file with anyone?
From MATLAB Online, you can share a file with others using MATLAB Drive. First, create a folder and right click the folder, the...

4 months ago | 0

Answered
アドオン製品インストーラーのエラー
通常、/usr/localディレクトリはroot権限でないと書き込めないようになっているので、そこに新規インストールやアドオンの追加で書き込みを行おうとすると、今回のようなパーミッションエラーが発生します。 以下の方法のどちらかで解決できると思います...

4 months ago | 0

Answered
How to create application in App Designer to load an image and feed it to a neural network?
You can find related answers in this answer and this answer. Here are tips in treating the model in App Designer app. (1) Fo...

4 months ago | 0

| accepted

Answered
How can I edit a Word document without Report Generator?
As you know, the current directory of Word calling from actxserver is C:\WINDOWS\system32, so you need to set a fullpath of the ...

4 months ago | 1

| accepted

Answered
Error code:-6
こちらの回答やこちらの回答が参考になるかと思います。 インストーラーやインストールファイルのフォルダー名に、「アクセント記号付き文字または 2バイト文字(例:日本語)」が含まれるとError Code 6のエラーが発生します。 フォルダー名が「C:...

4 months ago | 1

Answered
Matlab and Visual studio compatibility
Supported compilers list of R2015a is below. https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/f...

4 months ago | 1

| accepted

Load more