Respondida
外部コマンドの実行で、複数のコマンドを実行する方法
Yuki Koyama 様 cd はwindowsのシステムコマンドでなくとも、MATLABのコマンドでサポートされています。 1行目はMATLABのコマンドで実行しては如何でしょうか? cd : 現在のフォルダーを変更する stozaki...

más de 3 años hace | 0

| aceptada

Respondida
Scopeのビューアーを重ねずに表示する
Kohei Sendo様 Scopeブロックのメニューの「表示」➔「レイアウト」を選択し、3行1列を選択します。 念の為モデルを添付いたします。 stozaki

más de 3 años hace | 0

Respondida
スクリプトでブロックの最前面と最背面を設定することは可能ですか?
Yonasawa様 はい、可能です。 ブロックの設定はset_param関数を使用します。 「最前面」「最背面」はどちらも共通のブロックプロパティとなっており、BackgroundColorとForegroundColorの値を指定します。例えば...

más de 3 años hace | 0

Respondida
I cannot open slx file. how can i open this file?
Hi Sion, Your slx filename contains spaces and round brackets. They cannot be used as slx filenames. Remove those strings fro...

más de 3 años hace | 0

Respondida
Simulinkで作成したPWM信号をCSVで出力するにはどうしたらいいですか?
Shogo Tanaka様 モデルを開くと、「モデル設定」でSimulink.SimulationOutputが設定されているので、その結果を使ってみます。 モデルを開いてシミュレーション実行した後、次のスクリプトを実行すると、.csvファイルが出...

más de 3 años hace | 0

Respondida
複数ステップの遅延
amemori 様 指定したサンプル数だけ遅延するブロックとしてDelayブロックというものがございます。 こちらで対応頂けると思います。 stozaki

más de 3 años hace | 0

| aceptada

Respondida
GitHub上で作成したコードをMatlab上で読み込む方法
kanako machii様 GitHubからデータをクローンまたはPullされたいようなので、何れかご参考までに。(2の方法は手前味噌で申し訳ございません) 【クローン作成】 GitHub(リモートリポジトリ)上に存在しているMATLABのプロ...

más de 3 años hace | 0

Respondida
Resizing model window in Simulink
You can choose to minimize the gray pane by right-clicking on the gray pane.

más de 3 años hace | 0

Respondida
Flip-Flop simulation
If you just want to switch the boolean value, you can do it with the ManualSwitch block. You can double-click the Manual Switch ...

más de 3 años hace | 0

| aceptada

Respondida
Why doesn't signal units propagate through blocks?
Hello Proglet, There are two inputs. One has the unit N and the other has the unit m. The unit Nm is obtained as the result o...

más de 3 años hace | 0

| aceptada

Respondida
実行順序のリセット又は変更の仕方
情報のオーバレイの機能はあくまでも実行順を表示するだけなので、モデルの振る舞いが変わってしまうことは無いと思います。ブロックプロパティの「優先順位」の設定でブロック毎に実行順を設定出来るので、そちらに値を設定されてしまっているのではないでしょうか? ブロ...

más de 3 años hace | 0

Respondida
日付と数値が混在するテキストファイルを数値配列として読み込む方法について教えて下さい。
Hisanaga 様 読み取ったテキストフ​ァイル内の文字列に数​値を代入する 上記で回答した「インポート ツールを使用したテキスト ファイル データの読み取り」を使ってみました。 sampleという変数に数値配列が出力されます。 %% インポ...

más de 3 años hace | 0

Respondida
Failed to change the Mask value of Simulink Subsystem in R2020b.
This issue has been fixed in R2020b Update 1. Bug report 2335829 Thanks,

más de 3 años hace | 1

| aceptada

Respondida
2つのファイル間で、​値(I/O)のやり取​りは出来る?例:A.​slxのOut値をB​.slxのInに渡す​。
Katotyan_pe 様 ご質問の回答ですが、2通り考えてみました。 添付モデルを使って試してみてください。 解1 : モデル参照を使ってモデルAとモデルBを一つのモデルとして呼び出して実行する モデル参照という機能・ブロックを使用します...

más de 3 años hace | 0

Respondida
Problems with sim command in Matlab 2020a
Hello Is the result of the following command ”ans” ? get_param (bdroot (gcs),'ReturnWorkspaceOutputsName') If you turn o...

más de 3 años hace | 0

Respondida
HDL Code Generation Error
Hello kameshwar, Which MATLAB version are you using? The block type that supports code generation of double floating point d...

más de 3 años hace | 0

Respondida
3次関数について
Osaki 様 原因がわかりました。 分数関数の書き方について にてご質問を頂いた式において、z1=(x(1-x)(x-q))/(x+q); と定義されておりましたが、添付頂いた図の数式を解くと z = {x*(1-x)*(x+q)} / {f...

más de 3 años hace | 0

Respondida
Tableデータ名に日本語が含まれている場合の処理
Yuya Iwasaki様 データの添付及び、コマンド例を記載頂きましてありがとうございます。 ご利用頂いているMATLABバージョンがR2017aとのことで、行名に日本語等のマルチバイト文字取得の対応が出来ないようです。R2019b以降ですと、以...

más de 3 años hace | 0

| aceptada

Respondida
読み取ったテキストファイル内の文字列に数値を代入する
wataru suzuki様 返信頂きましてありがとうございます。 やりたいことを手順にしてみました。 上記の様な文字"X" と数値を含むテキストファイルを読み込む 文字 "X" を”数値10”に置き換える N*M (例では3*3) の数値行...

más de 3 años hace | 0

| aceptada

Respondida
How to understand output of demux?
Hello ENDER AYHAN RENCUZOGULLARI, "manual.FFC_Datagateway_DataReadWriteInputs.Data" contains 200x226 matrix data. If you wan...

más de 3 años hace | 0

Respondida
分数関数の書き方について
Osaki 様 類似のご質問と回答がございました。分数関数の使い方が知りたいです. MATLABにおいては、乗算、除算、べき乗の演算子は行列で使用します。一方、要素単位の演算は.(ドット)に演算子を付けた形になります。例えば .* や ./など...

más de 3 años hace | 0

| aceptada

Respondida
数式を積分する時に発生するエラー
Noruji Muto様 エラーメッセージの以下の箇所に着目してみました。 エラー: effect_of_beam_current>@(t)(t^5)*exp(-(Em/(4*kB*Te))*(t^2)+t) 先ず T = 700 . ...

más de 3 años hace | 1

| aceptada

Respondida
How to rename connections between blocks in Simulink
Hello I have attached a model that is easier to understand. Please try following script. CurrentName = "A"; RequiredName ...

más de 3 años hace | 0

| aceptada

Respondida
Embedded Coder - How to generate code without optimizations?
Hello Giuseppe, Subsystems, such as the MATLAB Function block, generate inlined code by default. If you want the subsystem t...

más de 3 años hace | 1

| aceptada

Respondida
GUIの作成方法
YUKI FUJITA 様 ご回答ありがとうございます。 App DesignerでもGUIDEでも、ドキュメントに簡単な例題がございます。 App Designerの場合、次のURLの例題を実施して頂くと、UIのレイアウトやコールバック関数の使...

más de 3 años hace | 0

| aceptada

Respondida
モデルの質量分析
taichi muto様 ご返信ありがとうございます。 モデル内のブロックの個数をカウントする方法ですが、幾つかの方法があります。 最も簡単にブロック数をカウント出来るのは次の関数をご利用ください。 sldiagnostics(bdroot(g...

más de 3 años hace | 0

| aceptada

Respondida
MATLABに新しいフォントRicty Diminishedを導入したい
ryohki wakasa 様 類似のご質問・回答とドキュメント記載内容でご対応頂けますでしょうか。 新しいフォントのインストール : 新しいフォントの導入 (MATLAB Answers) もしくは フォントを追加する (Microsoft) ...

más de 3 años hace | 1

| aceptada

Respondida
use Of constant in simulink
Hello Thank you for your reply. If you give an immediate value to a Constant block, you cannot set the "unit" attribute to ...

más de 3 años hace | 0

Respondida
Is Deep Learning HDL Toolbox supports Xilinx All Programmable 7000 ZC702 board?
Hello TURIMERLA PRATAP, In R2020b. Only the following boards are supported when using prototyping workflows on XILINX device...

más de 3 años hace | 1

Respondida
How can i update my simulink variable from m file in each iteration
Hello Kousalya, If you use the Discrete State-Space block, set it as follows: % Definition of matrix elements X = [1 2;3 4]...

más de 3 años hace | 0

Cargar más