Beantwortet
How to compare a value over time in Simulink
Hi Trevor, The processing you want to perform is not in the Simulink standard block. So I modeled the function you want to dete...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
Modify the storage class in the data dictionary programmatically
Editing a storage class is editing the properties of a Simulink Signa Object. To do this, edit the Simulink Signal Object progr...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
change fixed point number signedness
Hi scc28x, >> b1 = fi(3,1,3,0) b1 = 3 DataTypeMode: Fixed-point: binary point scaling Signedn...

fast 3 Jahre vor | 0

Beantwortet
function block with changeable input
Hi haluk zorluoglu, We cannot increase the number of ports in the function block. However, we can vectorize the input and enter...

fast 3 Jahre vor | 0

Beantwortet
Enable Access to Base Workspace - Matlab 2016a
In R2016a, the base workspace and Simulink Data Dictionary are only available exclusively. This is a functional specification o...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
fcnブロックの場所について
小杉様 こちらのブロックはR2020bから削除されております。リリースノートに記載がございます。 今後はMATLAB Functionブロック内部で数式記述を行っていただくか、Simulinkの標準ブロックを組み合わせてモデリングを行ってください。...

fast 3 Jahre vor | 1

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

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

Beantwortet
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...

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

Beantwortet
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 ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

Beantwortet
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...

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
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 ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 3 Jahre vor | 1

| akzeptiert

Mehr laden