Info
此问题已关闭。 请重新打开它进行编辑或回答。
Error in Output when transforming matrix into vector
1 次查看(过去 30 天)
显示 更早的评论
When I'am converting matrix into vector and I'am assigning that vector output to some variable ,it does't give me any vector output but only shown is OutPutPort1 = Sequence: [1x60 double]. Can someone please help me to resolve this issue that i may get correct output in form of vector ?
2 个评论
Image Analyst
2017-8-14
You'll have to wait for Walter. He's the only one with a fully working version of the Crystal Ball Toolbox. The rest of us need to see your actual code.
回答(1 个)
Walter Roberson
2017-8-14
You are outputing a struct with a field named 'Sequence' instead of assigning the content of the field.
2 个评论
Walter Roberson
2017-8-14
Sorry, you have contradictory requirements. You require your output to be a structure for use with OptiSystem, but you require your output to be a vector for some other purpose. You cannot have it both ways.
You can see the content of the vector by asking to display
OutPutPort1.Sequence
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
