回答済み
グループごとにretimeを適用する
【編集後】 いただいたコメントでやりたいことが理解できました。 グループ番号毎にtimeが2019/4/1~2020/3/31で、datacountが0の配列(下記のコードでnewTで定義したもの)を作り、変数Tに含まれている日付とグループ番号の場合は...

4年以上 前 | 1

| 採用済み

回答済み
DNG形式の画像を読み込みたい
非圧縮のDNG画像でしたら、imread、imfinfoなどが使えます。 R2021bで試しましたが、 info = imfinfo("xxx.DNG"); % メタ情報を取得 info2 = rawinfo("xxx.DNG"); % Image ...

4年以上 前 | 1

| 採用済み

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

4年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 0

| 採用済み

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

4年以上 前 | 2

| 採用済み

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

4年以上 前 | 1

| 採用済み

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

4年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 2

回答済み
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年以上 前 | 0

| 採用済み

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

4年以上 前 | 0

| 採用済み

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

4年以上 前 | 2

| 採用済み

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

4年以上 前 | 0

| 採用済み

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

4年以上 前 | 0

| 採用済み

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

4年以上 前 | 2

| 採用済み

回答済み
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年以上 前 | 0

| 採用済み

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

4年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

| 採用済み

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

4年以上 前 | 1

| 採用済み

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

4年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

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

4年以上 前 | 1

| 採用済み

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

4年以上 前 | 0

| 採用済み

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

4年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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...

5年弱 前 | 1

| 採用済み

回答済み
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...

5年弱 前 | 1

| 採用済み

回答済み
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 ...

5年弱 前 | 2

| 採用済み

回答済み
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...

5年弱 前 | 2

| 採用済み

さらに読み込む