Info

This question is closed. Reopen it to edit or answer.

How are Running Three Function Simultaneously

1 view (last 30 days)
omar A.alghafoor
omar A.alghafoor on 24 May 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi friends.....
i have three functions must by " Running Simultaneously "
the functions :
[after_encryption_redchaotic] = Encryption_chaotic(redChannel,Rk1);
[after_encryption_greenchaotic] = Encryption_chaotic(greenChannel,Gk2);
[after_encryption_bluechaotic] = Encryption_chaotic(blueChannel,Bk3);
I write this code ;
% calling encryption each Channel
parfor i = 1:3
if i == 1
[after_encryption_redchaotic] = Encryption_chaotic(redChannel,Rk1);
elseif i==2
[after_encryption_greenchaotic] = Encryption_chaotic(greenChannel,Gk2);
else
[after_encryption_bluechaotic] = Encryption_chaotic(blueChannel,Bk3);
end
end
but appear this error :
Undefined function or variable 'after_encryption_redchaotic'.
Error in secure_home_surveillance_system (line 45)
[after_encryption_redSBOX] = Encryption_SBOX(after_encryption_redchaotic,SBox);

Answers (1)

omar A.alghafoor
omar A.alghafoor on 5 Jun 2020
The problem has been resolved

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!