Answered
how many workers can I use in parallelization?
You need to change the NumWokers property from Cluster Profile. From "Parallel" -> "Create and Manage Clusters", change th...

4 years ago | 0

| accepted

Answered
GPUメモリが開放されない
これはGPU側にキャッシュが残っているためです。 gpuDevice (ドキュメント)のAvailableMemoryに説明がありますが、 「メモリのキャッシュにより、この値は NVIDIA® System Management Interface で...

4 years ago | 2

| accepted

Answered
curve fitting toolboxが使用できなくなりました。
このライセンスエラーは、企業または大学などでフローティングライセンス(コンカレントライセンス)を使用していて、使用ユーザーが所有しているライセンス数の上限に達した際に出力されるエラーです。MATLABは起動できているので問題ないですが、Curve Fitt...

4 years ago | 1

| accepted

Answered
構造体の関数を別の関数内で使うには
スクリプトを実行している「ベースワークスペース」と関数Aの「関数ワークスペース」の見え方の違いが原因です。 こちらのドキュメントに説明がありますが、 --- "ベース ワークスペース" にはコマンド ラインで作成した変数が保存されます。これには、コマ...

4 years ago | 1

| accepted

Answered
How to integrate HTML into Matlab App Designer?
In uihtml document, it says, To synchronize the value of the Data property between MATLAB and the third-party content that you ...

4 years ago | 2

Answered
Creating MATLAB data structures in C# library to use in MATLAB
MathWorks.MATLAB.NET.Arrays is a part of MATLAB Compiler SDK and is different from MATLAB's external interface for .NET. [MATLA...

4 years ago | 0

| accepted

Answered
アプリケーションコンパイラーで作った.exeファイルを指定した時間で自動的に起動する方法
タスクスケジューラからプログラムを実行すると、デフォルトだと開始フォルダが「C:\Windows\System32」になってしまいます。 こちらのスクリーンショットのように、タスクスケジューラの操作を編集して「開始(オプション)」で書き込み可能なフォルダ...

4 years ago | 0

| accepted

Answered
Plotの背景(軸外)の色を変えたい
バージョンR2021bからpcshow の機能改善で背景色を'BackgroundColor'で変更できるようになりました。 R2021bなら以下のようにして背景色を白に変更できます。 numFaces = 600; [x,y,z] = sphe...

4 years ago | 2

| accepted

Answered
GeoTIFFを読み込めない
GeoTIFF画像の座標系が地理座標系か投影座標系で使う表示用の関数が変わります。 readgeorasterの第2出力(R)がMapCellsReferenceとかMapPostingsReferenceという投影座標系ではmapshowを使います...

4 years ago | 0

| accepted

Answered
関数の呼び出し中に出力引数が代入されないエラーを回避するにはどうしたらよいのでしょうか
関数lineplotが最初に実行されるとき、fig.KeyPressFcnの部分のキーが押された場合の処理が未実施で終了するため、lineplotの出力pixに何も値が入らず、定義されていない状態になっているためこのエラーが生じています。 キーが押されな...

4 years ago | 0

| accepted

Answered
アプリケーションコンパイラー→パッケージ化→アプリケーションソフト(.exe)を起動してもエラーが発生
List(n).nameにはファイル名(例:1.txt)しか含まれませんので、exeファイルと同じフォルダ階層に1.txtと2.txtが置かれている必要があります。 AAAフォルダに1.txtなどがあるとのことなので、fullfileを付けてフォルダ...

4 years ago | 2

| accepted

Answered
problem in activating parallel server
Assuming you're using Campus-Wide License, about server products, such as MATLAB Parallel Server, license admins need to allow e...

4 years ago | 0

| accepted

Answered
文字が何種類あるかカウントしたい
関数uniqueを使って重複を取り除いてから、lengthで個数を求める方法でもできますし、 length(unique(['A1';'A1';'A1';'A2';'A2';'B1';'B1';'B2';'B3'], 'rows')) カテゴリー配...

4 years ago | 0

| accepted

Answered
Can I use MATLAB Engine API for C++ for compiled standalone applications?
The link (MATLAB Engine API for C) is the interface in which MATLAB is called from C. If your C++ application can be called fro...

4 years ago | 0

| accepted

Answered
app designer上でhtmlを用いたmp4ファイルの再生について
App Designerの内部で使用しているChromiumブラウザの制約でH264で圧縮されたmp4動画が再生できないためと思われます。 解決策としては2つあります。 (1) OGGフォーマットの動画を使用する OGGフォーマットの動画ならChro...

4 years ago | 1

| accepted

Answered
AppDesignerで作成したアプリの起動時に読み込んだデータが使えない
decorderNetやencoderNetがApp Designerのfunctionの中でのローカル変数になってしまって他の関数から認識されていない状態のようです。 「コードビュー」の左側の「コードブラウザー」からプロパティを追加し、 proper...

4 years ago | 1

| accepted

Answered
Rest API/Rest API Web Service and MPS
In REST API, there are two parts, client and server. For REST API client, 1) will be helpful. Especially, webread for HTTP GET ...

4 years ago | 0

| accepted

Answered
Will App created in AppDesigner MATLAB 2017b work in MATLAB 2015a ?
No. Usually, mlapp files created by App Designer can be open in previous versions with some compatibility. But App Designer wa...

4 years ago | 0

| accepted

Answered
Not successful connection to MySQL (native data source configuration)
As written in this document, please make sure that you have installed MySQL Connector/C++ 8.0.15 driver. The native driver in...

4 years ago | 0

Answered
可とう体としての掘削機ディッパー アームのモデル化
手順5では、例の一番下にあるモーダル減衰行列の計算で定義されたローカル関数computeModalDampingMatrixを使いますので、この関数が定義されていないとエラーになってしまいます。 関数の定義はMATLABドキュメント「function」に...

4 years ago | 1

| accepted

Answered
GUI上でヒートマップの作成、保存
バージョンR2020aから使えるexportgraphicsコマンドを使うことで解決できると思います。 UIFigureやPanelのグラフィックスオブジェクトも保存できますので。 h2 = heatmap(app.UIFigure,testdat...

4 years ago | 0

| accepted

Answered
ラズベリーパイに接続時のエラー ( Error connecting to raspberry pi. )
こちらのAnswerと同様のエラーのようです。 libnanomsgのパッケージがインストールされていないのかもしれません。 sudo apt-get install libnanomsg-dev libasound2-dev でパッケージをインスト...

4 years ago | 0

| accepted

Answered
Installing Matlab 2020b on Azure Ubuntu 18.04 Virtual Machine
This Answer may help you. You don't need to install with sudo. Just ./install with user (non-root) account. You may need t...

4 years ago | 0

Answered
I just installed the mapping toolbox In running the example referenceSphere can not resolve superclass map.geodesy.Sphere.
In R2020a, which -all map.geodesy.Sphere will return the following file. MATLAB_INSTALL\toolbox\shared\mapgeodesy\+map\+geod...

4 years ago | 1

| accepted

Answered
Application compiler: How do I pass a file as Command line Input type argument
File object itself cannot pass in command line, but you can pass file path. Below is a sample code. function myFileOpenTest(in...

4 years ago | 1

| accepted

Answered
Application compiler: Command line Input type options missing
"Command line input type options" will be shown if m file is a function. In the documentation example which you mentioned, the ...

4 years ago | 2

| accepted

Answered
ThingSpeak API CSV returns a fraction of the requested data
According to this document, in results query, it says "The maximum number is 8,000." May your 10 days data is 8,000 records? If...

4 years ago | 2

| accepted

Answered
文字列に変数を埋め込む方法
関数sprintfを使って変数をファイル名の文字列に渡せば実現できます。 gussigmaが整数なら%d、小数もありうるなら%fを使います。%1.1fにすると整数部分を1桁、小数点以下を1桁にすることができます。 % gussigmaが整数の場合 i...

4 years ago | 1

| accepted

Answered
Error using parallel.Future/fetchOutputs in Denoise Speech Using Deep Learning Networks Example
It might be out of memory error. tall array can handle big data, but as tall/gather document says, "MATLAB® can run out of mem...

4 years ago | 1

| accepted

Answered
MATLAB appでのパネルの使い方について
パネルは、コンポーネント(ボタンとかテーブルとかテキストエリアとか座標軸など)をまとめたいときに使います。 このパネルの中にユーザーの入力値をまとめて配置するとか、このパネルは表示エリアにして計算結果のプロットを置くとか、ユーザーインタフェースを分かりや...

4 years ago | 2

Load more