Community Profile

photo

Kojiro Saito

MathWorks

Last seen: Today Active 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.

Spoken Languages:
English, Japanese
Pronouns:
He/him

Statistics

All
  • Thankful Level 4
  • Guiding Light
  • Revival Level 3
  • Solver
  • 36 Month Streak
  • First Review
  • Knowledgeable Level 5
  • First Answer

View badges

Content Feed

View by

Answered
for文を使用して、現在のフォルダ内にある3つのcsvファイルを1つのリスト型として格納するにはどうすれば良いですか?
file3のtableしか格納されないのは、forループごとにdata変数が上書きされて最後のn=3の場合のものしか残らないためです。 1つのリスト型にしたいというのが、テーブルを縦に連結するという意味でしたら、forの中を data = vertca...

17 hours ago | 1

Answered
app designer switch problem
Items property of app.Switch2 is 'On' and 'Off' in this app, so you need to change the if condition to value == "On". function...

1 day ago | 2

| accepted

Answered
datastoreを途中から読み込む方法
CSV で使われる表形式データストア(tabularTextDatastore)がサポートしているpartitionで指定した位置のデータを抽出できます。ただ、位置(下記コードの変数index)は1つしか指定できないのでx番目以降をまとめて取得したい場合は...

14 days ago | 1

| accepted

Answered
whats wrong with my app?
I think the following will work. app2.mlapp Set public properties. properties (Access = public) antall_soner end and b...

14 days ago | 0

Answered
Update Webdesigner App Image component- how??
To update an image of uiimage component, change the ImageSource property. app.Image.ImageSource = 'test.jpg' But it does not r...

14 days ago | 0

Answered
下記のようなプログラムで、エラーメッセージが出ます。どのように直せば良いですか
kyoriの1つ目のインデックス「zahyou(r,1)」の値が、rの値によってkyoriの配列の行数を超えてしまっているようです。 size(kyori, 1) でkyoriの行数を確認し、 for r = 1:CNum zahyou(r...

16 days ago | 1

Answered
"run()" command in compiled .m-Script does not work
run command is not supported by MATLAB Compiler as written in the following document. Functions Not Supported for Compilation b...

21 days ago | 0

| accepted

Answered
カスタムのdatastoreを作成する
transformでfileDatastoreから新しいデータストアを作成し、combineで2つのデータストアを結合する方法で実現できると思います。 tbpcds = fileDatastore(tbpc,"ReadFcn",@(x) readmatr...

28 days ago | 1

| accepted

Answered
セグメンテーションタスクにおける転移学習について
下記のページにまとまっています。ページ下段の「注目の例」が参考になると思います。 [Image Processing Toolbox] イメージのセグメンテーション →画像処理を使った領域分けの例 [Computer Vision Toolb...

30 days ago | 0

Answered
zoomplotを使うことができません
ZoomPlotという名前の関数はFile Exchangeに大文字・小文字の違いなど含めて何種類かあります。 現在入っているものは、アドオンからダウンロードした先がMATLAB Add-Ons\Functions\zoomPlot と小文字のzになって...

1 month ago | 1

| accepted

Answered
How to connect to a in-memory sqlite database using the Database Toolbox
sqlite command only allows file name as input (like data.db), so you need to use JDBC interface instead. SQLite JDBC for Window...

1 month ago | 0

Answered
mad関数をcellfunで使いたいのですが,平均値か中央値を選ぶオプションの設定方法がわかりません.
無名関数というものを使ってみてください。 cellfun(@(a) mad(a, 1), x, 'UniformOutput', false);

1 month ago | 1

| accepted

Answered
How to build a Docker Image in Matlab with Additional Packages
You can add additional files with AdditionalFiles of compiler.build.ProductionServerArchiveOptions. functionFile = 'DockerFunct...

1 month ago | 0

| accepted

Answered
R2023aで、py.sysやpy.os(MA​TLABからpyth​on)を呼び出す方法
Pythonのパスにosとsysが追加されていないようです。 pyrun('import sys,os') を実行した後でpy.sys.pathなどを実行してみてください。 ただ、Windows AppsフォルダーにインストールされているのでMi...

1 month ago | 1

Answered
インデックスが配列要素数 (0) を超えています
CONN_h.menus.m_results.shownsourcesあるいはCONN_h.menus.m_results_00が空なのに0より大きいインデックスを使って要素にアクセスしようとしているのが原因です。CONN_h.menusの中身を確認してみ...

1 month ago | 0

Answered
Unrecognized function or variable 'doTraining'.
doTraining = false; exists in the first line of the example (Lidar 3-D Object Detection Using PointPillars Deep Learning). B...

1 month ago | 0

| accepted

Answered
ループ処理で回すような処理の際は構造体配列よりもcell配列を利用すべきでしょうか?
一概に構造体とセル配列でどちらのほうがループが速いとは言い切れず、繰り返し数nの値にも依ってきます。下記の例では各要素の値を2倍する処理ですが、n=100000で構造体のほうが速いですが、n=100とかだとセル配列のほうが速かったです。 構造体でforル...

1 month ago | 3

| accepted

Answered
MATLAB Admin Center MJS Service Error
Could you confirm mjs.bat exists in C:\Program Files\MATLAB\R2023a\toolbox\parallel\bin? If not, MATLAB Parallel Server is not ...

1 month ago | 1

Answered
1台のPCで2つのMatlabウィンドウを起動し、各ウィンドウでプログラムを同時に実行することは可能でしょうか。
1台で2以上の複数のMATLABを起動するのは可能です。MATLABインスタンスごとにワークスペースは独立していますので、同じ変数名であっても競合しません。 ただ、MATLABを通常起動すると画面表示などでメモリーを多く消費しますので、「-batch」オ...

1 month ago | 2

| accepted

Answered
cell配列でのデータ格納が複雑になってしまい,取り出しに難儀しています.複雑なデータを格納する方法を教えて下さい.
確かにセルと構造体はメモリーをより多く使用します。 参考:メモリを効率的に使用するための対策 cell 配列は、各要素に対する別々の mxArrays で構成されます。このため、多くの小さな要素をもつ cell 配列ではオーバーヘッドが大きくなりま...

1 month ago | 1

| accepted

Answered
The hyperlink button fails after App Designer is packaged as a standalone desktop
You need to include the PDF file in "Files required for your application to run" of Application Compiler. Or, add "-a xxx.pdf...

1 month ago | 1

| accepted

Answered
"Error: Unable to find installation candidates for these products" using ./mpm in command line terminal
The command should be the following. './mpm install --release=R2023b --destination /usr/local/MATLAB --products MATLAB 5G_Toolb...

1 month ago | 1

Answered
Run a .mlapp script from a .m script with input variables and output variables
You can call your .mlapp with input argtuments. Here is a document: Startup Tasks and Input Arguments in App Designer Please ...

1 month ago | 1

| accepted

Answered
複数個の動画ファイルを1つに結合することはできますか?
動画の数だけVideoReaderを作り、フレーム毎にreadFrameで画像を取得してhorzcatで横向きに結合、vertcatで縦向きに結合し、VideoWriterで1つの動画に出力する方法で実現できます。 あまりきれいなコードではないですが、サ...

2 months ago | 5

| accepted

Answered
画像処理をした後に、その画像の輝度を求める方法
Figureを保存すると、saveasコマンドと同等でデフォルトで.figファイルになってしまいます。.figファイルではなく、JPEGやPNG画像としても保存できますが、タイトルなども含まれてしまうので、imwriteという関数が適切だと思います。 i...

2 months ago | 1

| accepted

Answered
Parallel Computing Toolboxを用いた並列計算の高速化方法について
どのような処理をしているのかお教えいただければより具体的なコメントができますが、一般論では以下のとおりです。 MATLABコードを高速化するコツ:パフォーマンス向上の手法 処理のボトルネックを見つける方法:パフォーマンス向上のためのコードのプロファ...

2 months ago | 1

| accepted

Answered
ディープネットワークデザイナー内のネットワークがインストールできない
こちらの報告と同様のようで、プロキシサーバーやコンピューターのファイアウォールの影響が考えられます。 アドオンエクスプローラー経由ではない方法をお試しください。 Inception-ResNet-v2のサポートパッケージのFile Exchangeのペ...

2 months ago | 1

| accepted

Answered
複数のファイルをアップロードしようとしてもできない.
MATLAB Onlineの環境でアップロードできないということでしょうか? MATLAB Drive (https://drive.mathworks.com/files/)のWebページでアップロードしてみたり、複数のCSVファイルをZipファイルに...

2 months ago | 1

| accepted

Answered
Error-15 の解決方法
こちらの回答の(1) ライセンスファイルの記述の問題、(2) ネットワークの問題、(3) ライセンスサーバ上のライセンスマネージャの問題、のいずれかが原因だと思われます。 ネットワークは変えていないということなので(3)が怪しいかなと。ライセンスマネージ...

3 months ago | 2

| accepted

Answered
回帰学習モデルのApp Designerへの実装について
loadLearnerForCoderはC/C++コード生成を行うためのモデルの読み込みですが、今回はApp Designerで使用するためなのでloadで十分です。 回帰学習器アプリでエクスポートしたモデルの変数(例:trainedModel)をワーク...

3 months ago | 1

| accepted

Load more