Réponse apportée
How to select a value from a footer of a text file
You can extract the data by extractBetween. Here is a snippet. str = fileread('cor_2017_1_1_00.txt'); extractedStr = extractBe...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
forループ内でループ変数を用いて、異なる変数に値を代入する方法
関数assigninを使うと簡単にできます。 for i=1:10 assignin('base', sprintf('data%d', i), i) end

presque 6 ans il y a | 4

| A accepté

Réponse apportée
Problem running opensees navigator with MATLAB Compiler Runtime v2019a
I understood that you've installed MATLAB Runtime R2019a (v96). I'm not familiar with OpenSees Navigator, but if you've downloa...

presque 6 ans il y a | 0

Réponse apportée
XML Help - How to Change encoding? How to set DOCTYPE? Why cant I find any documentatio?
I think there's no way to customize encoding in xmlwrite and writestruct (from R2020b). Workaround would be using .NET or Java ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
ファイル名の一部を変更
関数sprintfを使うと簡単にできます。 for n=1:5 if n > 1 path=sprintf('filename%d.text', n-1); disp(path) end end

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Sharing AppDesigner Apps on the Web
You just need to send an URL link (for example, http://YOURHOST.YOURDOMAIN:9988/) to others. But be sure to YOURHOST.YOURDOMAIN...

presque 6 ans il y a | 0

Réponse apportée
Ubuntu OsにてMATLABを開く際、端末でエラーが出ている
こちらのAnswersやこちらのUbuntuのページに同様の事象が報告されています。NVIDIAのドライバーとMESA_LOADER_DRIVER_OVERRIDEのオプションの相性の問題のようです。 Answersの回答にあるように、ターミナルで以...

presque 6 ans il y a | 2

Réponse apportée
エディタがファイルごとに開くようになってしまった
エディターをドックから出してしまっているようです。 エディターの右上にある▼アイコンをクリックして、「エディターにすべてをドッキング」をクリックすると再びエディターがドックに入り、複数のファイルがエディターのタブに表示されるように戻ります。

presque 6 ans il y a | 4

Réponse apportée
MATLAB Compiler Runtime (MCR) Non-Standalone Installations
From R2018a, MATLAB Runtime installer has not been included in MATLAB Compiler. You can download MATLAB Runtime installer from w...

presque 6 ans il y a | 0

Réponse apportée
サービス終了日について
サービス終了日を迎えてライセンスの有効期限が過ぎた場合、そのMATLABは起動できなくなります。今回は、起動はできており、コードのエラーが出ていますので、ライセンスの有効期限とは別問題のようです。 「配列インデックスは正の整数または logical 値で...

presque 6 ans il y a | 1

Réponse apportée
R2018aで、MATLABからpythonを呼び出す方法
pyenvはR2019bで導入された関数で、R2018aでのPythonの呼び出しのドキュメントは下記のリンクです。 https://jp.mathworks.com/help/releases/R2018a/matlab/getting-started...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Unable to install matlab web app server r2020b as a stand alone product
MATLAB Web App Server is included in the same installer of MATLAB. In the steps for creating a container, installer ISO image i...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
why my licence will expire
It seems that you're using term (subscription) license and it will expire in the end of October. Please contact your license ad...

presque 6 ans il y a | 0

Réponse apportée
Matlab runtime not found, even though path correct
Did you run the execution file from the new command prompt? After changing the PATH environment, you need to open a new command ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
特定のシェル環境内でMATLABが使いたいです。
ParrotのSDKで使用するPython Olympe環境で、標準Pythonの環境で入れたパッケージが見られていないようです。 https://developer.parrot.com/docs/olympe/installation.html の...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
appdesignerを使用した際のラジオボタングループのフレームの色の変更はできるか?
R2020b時点でも、枠線の色を変えることはできませんが、枠線を消すことはできます。 App Designerのコンポーネントブラウザーの「インスペクター」から、BorderTypeを「none」にすることできます。 また、コマンドでは以下...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
読み取りファイルの文字列間の空白によるreadcellのエラー
importOptionsを使って、読み込む変数を3つだけに絞り込んでみたら良いと思います。 filename = 'sample.txt'; opts = detectImportOptions(filename); opts.SelectedVa...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Can't import numpy or other Python libraries
You need to add your packages directory in your python's search path. Here is an example. pysys = py.sys.path; pysys.append(...

environ 6 ans il y a | 1

Réponse apportée
Matlab WebApp Server SSL Digital Certificate key size
It seems that currently MATLAB Web App Server only allows SSL certificates with 2048 bits. I've reported this issue to the devel...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
SQL datetime query - is there a faster way?
As of JDBC and ODBC connections, MySQL's datetime and timestamp will be imported as char. You can change the import options by d...

environ 6 ans il y a | 1

| A accepté

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ 6 ans il y a

Réponse apportée
tableにフィルターをかけて特定の行だけを抽出したい(Forを使わずに)
以下のようなやり方で抽出できます。 ここではidsに抽出したいIDを抜粋して[]で括っていますが、実際の数千のIDを直書きするか、ファイルから読み取るなどしてみてください。 ids = [1, 5, 8, 9, 13, 9850]; index ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Problem incorporating a Python image filter in Matlab
I'm not sure about "numpy.array won't convert a matlab matrix directly", but py.numpy.array(I) works fine, so I don't think it's...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
データを列ごとに配列にして読み込むスクリプト
一番簡単な方法は、MATLABでcsvファイルをダブルクリックしてインポートウィザードを起動し、出力タイプを「列ベクトル」に変更して、「選択のインポート」で「データのインポート」をクリックします。 これでCSVファイルの各列がそれぞれ別の変数とし...

environ 6 ans il y a | 0

Réponse apportée
MATLABからC++への変数の引き渡しに対するエラーの解消方法を調べています
こちらのドキュメント(C++ エンジン プログラムのビルド)にC++インタフェースを使う前提の説明がありますが、Visual Studio上ですと、 ・プラットフォームの設定を「x64」にする ・プロジェクトのプロパティを開いて、「C/C++」→「全般...

environ 6 ans il y a | 0

Réponse apportée
Integrating MATLAB code to an ASP.NET website
You can use MATLAB with web applications as described in Program Offering Guide. Part Three describes the license use with exter...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
作成したアプリケーションのデータが変更されない
実行時にMATLAB Runtimeのキャッシュフォルダにdata.csvが置かれるのですが、それが残ってしまって、手元のデータを変更しても反映されていないのかもしれません。 MATLAB Runtimeのキャッシュフォルダは Windowsの場合、 ...

environ 6 ans il y a | 0

Réponse apportée
Index exceeds the number of array elements (1)
It's because you're trying to manipulate b in line, b([k,ipr])=b([ipr,k]) but, you're inputting as follows. k = 1; A = pivot...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
"ファイルの書き込みに際しデータが切り捨てられました"と表示される
こちらのドキュメントのとおり、audiowriteの書き込み対象のデータ型によって、書き込めるデータの範囲が変わってきます。上記の変数smix_Lchやsmix_Rchのデータ型を確認してみてください。 whos smix_Lch whos smix_...

environ 6 ans il y a | 0

Réponse apportée
特定のフォルダへmatファイルを保存する方法
シンプルにcopyfileかmovefileを使ってファイルコピー・移動させたら良いと思います。 下記のコマンドで、A_*.matファイル群をサブフォルダーCに移動させます。 movefile A_*.mat C

environ 6 ans il y a | 1

Charger plus