Réponse apportée
C#プログラムからMATLABライブラリを呼び出す方法は?
C#から呼び出すなら、MATLAB Compiler SDKで.NETアセンブリに変換してみたらいかがでしょうか。 開発マシンがWindowsである必要がありますが、配布先のマシンがLinuxでも.NET Coreのアプリケーションとして展開ができます。...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

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

plus de 4 ans il y a | 2

| A accepté

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

plus de 4 ans il y a | 1

| A accepté

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

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 4 ans il y a | 2

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

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

plus de 4 ans il y a | 0

| A accepté

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

plus de 4 ans il y a | 2

| A accepté

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

plus de 4 ans il y a | 0

| A accepté

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

plus de 4 ans il y a | 0

| A accepté

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

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

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

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

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

plus de 4 ans il y a | 1

| A accepté

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

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

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

plus de 4 ans il y a | 1

| A accepté

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

plus de 4 ans il y a | 0

| A accepté

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

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 2

| A accepté

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

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 1

| A accepté

Charger plus