Community Profile

photo

stozaki


Last seen: Today

MathWorks

177 total contributions since 2019

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.

NOTE: Please do not send me individual messages or questions, as I will not be able to respond to them. If you have technical questions about MATLAB, please use the various resources on MATLAB Central. If you have a valid license, you can also use Technical Support.

Contact

stozaki's Badges

  • First Submission
  • GitHub Submissions Level 1
  • 3 Month Streak
  • Knowledgeable Level 3
  • Speed Demon
  • Creator
  • First Review
  • Revival Level 3
  • Solver
  • First Answer

View details...

Contributions in
View by

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

11 hours ago | 0

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

15 hours ago | 1

Answered
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]...

1 day ago | 0

Answered
How to fill in Sine Wave Block
Hello Huy Truong Tan Gia, The block dialog contains the definition of the sine function. (Red frame) For example, if the sam...

1 day ago | 0

| accepted

Answered
How to use while true loop for this qustion?
Hello Here is an example of calculation % Define the value of F used in the calculation as a "vector". F = [70 80 75 84 92...

1 day ago | 0

Answered
subscript that is out of range?
Hello Rajeev, The variable "P" is undefined in your Fcn block. Define the value of the variable "P". Regards, stozaki

1 day ago | 0

Answered
対数計算時のエラー
坂本様 コマンドの実行ありがとうございました。 ca1のクラスが "int16"となっています。log関数のドキュメントを見ると、入力引数のデータ型は "single" もしくは "double" となっています。従って、"int16"のデータ型は...

4 days ago | 0

| accepted

Answered
Silmulink入​門トレーニングタスク​7.1MATLABワ​ークスペース変数につ​いて
木本 達也 様 ご質問を頂きました件ですが、手元で同様の現象を確認しました。 結論を先に申しますと、トレーニングタスクペイン(左側のペイン) の説明文が明確では無く、誤った操作へ誘導してしまっているように見えます。 貴重なお時間をお掛けし、申し訳...

5 days ago | 0

Answered
What is the name of this block?
Hello RIFAT ONGUN, Its block type looks like "HitCross". If you want to find out the block type, select the block with the mou...

6 days ago | 0

Answered
Why is simulink model called with an invalid flag?
Hello Seunguk, If you call a function, you need to use variables in the function workspace. ret = mdlname(0.14, 0.35, 1000000,...

7 days ago | 0

| accepted

Answered
does not resolve to a valid data type for parameter "OutDataTypeStr"
Hello wrest12, I think you haven't created a bus object named abc. If I don't define a bus object, I've detected the same error...

7 days ago | 0

Answered
islocalmin関数のC/C++ コード生成
Kohin Shu 様 コード生成には、MATLAB Coderを使用します。使用手順はMATLAB Coder アプリを使用した C コードの生成 記載の手順がわかりやすいかと思いますので参考にしてください。 islocalmin 関数はドキュメ...

8 days ago | 0

Answered
How can i erase the word "out." at the beginning of the variable name in block "to workspace"
Hello David, The default configuration settings are to save to a single Simulink.SimulationOutput object. The script to cance...

9 days ago | 1

| accepted

Answered
MATLABコマンドラインから印刷フレームを使用してsimulinkモデルブロック図を印刷することはできますか
yusuke endo 様 モデル参照毎のブロック線図に対して1枚のpdfファイルを生成するプログラムを考えてみました。 R2020aの環境を使用し、手元では期待されるpdfファイルが出力されることを確認しております。 2通りの方法が考えられたの...

9 days ago | 0

| accepted

Answered
Can I uninstall my older versions of MATLAB and still have working newest MATLAB version?
Hello Katarina, Yes it works. Below is a similar answer Will Matlab 2017b work without Matlab 2017a? stozaki

10 days ago | 0

Answered
I cannot see the linear analysis menu in R2019b
Hello James, Since MATLAB R2019b, Simulink Toolstrip has been adopted instead of Simulink Menu. Simulink Toolstrip > APPS ta...

10 days ago | 0

| accepted

Answered
How to set 1D Table characteristics from script
Hello Lila, If the block path (character) or block handle (numerical value) of the target 1D LookupTable block is "blkName" ,...

11 days ago | 0

| accepted

Answered
sim関数のMATLAB 式を評価するワークスペースについて
KO様 sim が記述される関数が呼び出される”親となる関数”のワークスペースが、"parent" となります。 シンプルな具体例としては次のような形となります。(AはSimulinkモデルで使用されていて、ベースワークスペースで定義されていないパ...

11 days ago | 0

| accepted

Answered
My Simple model does not run when my time is set to 10 seconds
Hello Jorje, Probably because the sample time value in your constant block is the default value. The constant block sample t...

12 days ago | 0

| accepted

Answered
download file from a url
Hello Xuewei, Your script seems to have invalid websave arguments. Please try following script. websave('xxx.csv','https://...

12 days ago | 0

| accepted

Answered
Simulink Plot from Command Window
Hello Aaron, Please try as follows. % execute model simulation and store the result in y. y = sim('HW1_number10'); % acqui...

22 days ago | 0

| accepted

Answered
ライセンス番号の取得方法
鶴﨑さん ライセンス番号を取得するには licence という関数を使用します。 MATLABを起動するとコマンドウィンドウというプログラムを入力・実行するペインがあります。 コマンドウィンドウでlicence関数を実行するには、次のように行いま...

22 days ago | 1

Answered
Add value to previous value while using a for loop
Hello Vance, Try adding the following to your script. COMTOT is the cumulative sum. COMTOTALL = cumsum(CoM_tot); COMTOT = C...

23 days ago | 0

Answered
テストハーネスを使用するために必要なライセンスをご教示ください。
michihiroさん Simulink Test のLicenceが追加で必要となります。 手元でSimulinkモデルのメニューからテストハーネスを選択し、テストハーネスを作成時に使用したLicenceを以下のコマンドで確認しました。matla...

23 days ago | 0

Answered
evalin data dictionary design data unable to use parameters on rhs of expression
The "evalin" function for data dictionary section does not support the expressions. The workaround can be replaced by the follo...

23 days ago | 0

Answered
Get expected DataType for Inherit:auto port
Hello Iliya, Simulink blocks output data type are determined when you compile your model. To get the data type property at t...

1 month ago | 0

| accepted

Answered
Read and save multiple excel files into one spreadsheet in one excel file
Hello addy, I attach a simple sample script. Please save all files in the same folder and run the script. Regards, stoza...

2 months ago | 0

| accepted

Answered
Unable to add block in Simulink 2016 with add_block command
Hello Ruhi, Please try to edit line 7 as follows : Before : add_block('built-in/Inport', ['/Test' '/IN1'],'Position',[140 9...

2 months ago | 0

| accepted

Answered
save workspace BUT with another name!
please refer an following URL save save filename save ('filename') For example, if you want to save it as 'test', you would ...

5 months ago | 1

| accepted

Submitted


SetInheritedPortName-Simulink-Utility
To set name of the port block and propagation signal name.

5 months ago | 5 downloads |

Load more