Simulink - Excel
4 次查看(过去 30 天)
显示 更早的评论
Hello
Does anyone know if it's possible to run an excel file in Simulink? I have a column with a variable in excel, and don´t know if there is a block that I can get in simulink to run this variable.
Regards
0 个评论
回答(6 个)
Guy Rouleau
2011-4-28
编辑:John Kelly
2014-8-22
The Signal Builder block allows you to import a signal directly from Excel:
0 个评论
Arnaud Miege
2011-4-27
What do you mean "run this variable" and why do you need to do that? Depending on what you want to do, it might easier to just import the data in MATLAB using xlsread and then use the From Workspace block to use the variable in the Simulink model.
HTH,
Arnaud
2 个评论
Pat
2011-9-5
i have a variable b which consists of values [ 2 3 4].if i enter b to pass these values to fuzzy logic controller as input i get an error.can any one help
the error is 'expression b does not evaluate to valid FIS'
Tiago
2011-4-27
9 个评论
Arnaud Miege
2011-4-28
Instead of simin, just enter the name of your variable, i.e. 'data' in your case (without the quotes) and that's all there is to it!!
Tiago
2011-4-28
3 个评论
Arnaud Miege
2011-5-3
Did you have a look at the tutorials I suggested? You really need to get up to speed with the basics of Simulink. Have a look at the following snapshot:
https://picasaweb.google.com/lh/photo/e5izz3VrVIYHyZnnq3oc6A?feat=directlink
Tiago
2011-6-1
1 个评论
Arnaud Miege
2011-6-1
Again, have a look at the snapshot I mentioned in my earlier comments, read through the documentation and look at the tutorials I pointed you towards. This is really basic stuff. Failing that, you need to go for a training course:
http://www.mathworks.co.uk/services/training/courses/SLBE_1.html
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!